Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP8 GROUP BY Restriction
Message
 
 
To
28/05/2003 11:05:25
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00793077
Message ID:
00793531
Views:
27
>Hi Sergey,
> I think I understand. So are you saying that SELECT DISTINCT only eliminates rows for which all columns are the same?
>
> I thought that the statement:
>SELECT DISTINCT ColumnA ColumnB
>would return only 1 row for each unique value of ColumnA.
>
>Are you saying it would return 1 row for each unqiue value of ColumnA and ColumnB?
>
>Thanks, Chaim

Yes, it will return row for each unique combination of ColumnA and ColumnB. It's the same as doing GROUP BY ColumnA,ColumnB
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform