Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL GROUP BY Question
Message
From
08/01/2006 01:24:47
 
 
To
07/01/2006 07:10:48
Alfred Roa
Ebs Accounting Software Solutions
Cagayan de Oro City, Philippines
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01082935
Message ID:
01084485
Views:
9
>Follow question to this post....
>
>Whenever you have specified some sort of fields in your query, you must put those fields also in the group by clause when there's a sum(field) in your select? Just a bit confused. :<)

Whenever you use GROUP BY, all fields must either

1. Be included in the GROUP BY

OR

2. Have an aggregate function SUM(), COUNT(), MIN(), etc
Previous
Reply
Map
View

Click here to load this message in the networking platform