SR 22782 - SQL version of report off existing data - before Gartman change