sql query consolidation

Printable View