Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Distinct vs SQL Grouping
Message
 
 
To
19/09/2005 22:51:55
Aaron K. Y. Chu
Health & Care Co. Ltd.
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01051119
Message ID:
01051126
Views:
8
Aaron,

You use GROUPing when you need to run an aggregating function like max(), sum() or avg() on a column.

Use DISTINCT when all you want are the distinct combinations columns that occur within the data.

>I always confuse the difference in SQL Distinct vs SQL grouping. When will I use SQL distinct or SQL grouping?!
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform