Home Forums SQL Server 2008 T-SQL (SS2K8) Aggregate Query Help Required RE: Aggregate Query Help Required
John Mitchell-245523
SSC Guru
Points: 148809
More actions
October 20, 2014 at 3:50 am
#1753441
Please can we see the table that contains the grouping information?
I think the best way will be to add up and and number the groups in a CTE, then do the division in the main part of the query.
John