Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL - Difference between ORDER and GROUP
Message
From
13/09/1999 14:03:15
 
 
To
13/09/1999 12:25:59
Peter Brama
West Pointe Enterprises
Detroit, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00264016
Message ID:
00264112
Views:
20
>Sylvain
>
>So the group by is the same as a grouping clause in a report. The only difference is that it does the grouping with the records PRIOR to the report and this, the detail of the report would be JUST the grouped records and not the individual ones that make it up.
>
>If that is the case, if I want the detail as well as group footers with totals, I would NOT use the GROUP BY in the select but instead use a DATA GROUPING in the report to catch the totals in the header.
>
>Correct?


Correct. With GROUP BY, you lose a level of detail, so it's fine as long as you don't want that detail.
Sylvain Demers
Previous
Reply
Map
View

Click here to load this message in the networking platform