Home Forums SQL Server 2005 T-SQL (SS2K5) Group by Query Error RE: Group by Query Error
amrata88
SSC Enthusiast
Points: 196
More actions
July 25, 2010 at 12:14 am
#1197913
In group by clause, you should include all the columns present in the select list that are not aggregated.
So, in this example include all the columns in the group by clause except Sum(Value).