Question : Not a single group-group function

when you get the above error does it mean a group by is missing or is extra..

thanks

Answer : Not a single group-group function

Yes...either add in group by clause or remove from select statement

Cause:
A SELECT list cannot include both a group function, such as AVG, COUNT, MAX, MIN, SUM, STDDEV, or VARIANCE, and an individual column expression, unless the individual column expression is included in a GROUP BY clause.

Action: Drop either the group function or the individual column expression from the SELECT list or add a GROUP BY clause that includes all individual column expressions listed.
Random Solutions  
 
programming4us programming4us