Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Incorrect Syntax Error
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
01323625
Message ID:
01323633
Views:
15
>>Now I'm getting:
>>
>>"Column 'Product.sProduct_Desc1' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause."
>>
>>I don't understand why all the columns listed in the SELECT clause have to be in the GROUP BY clause.
>>
>>Can you enlighten me?
>
>If column is not in the GROUP BY clause than SQL engine wouldn't know what record it should come from. IOW, you did not provide enough info for SQL Engine to perform the query.


"....than SQL engine wouldn't know what record it should come from"

Huh?? I don't get this.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform