Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Catch 22 on group by
Message
From
21/05/2001 17:39:25
 
 
To
21/05/2001 09:05:10
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00508311
Message ID:
00509698
Views:
25
>Mike - I understand this and agree - however, what if country ("USA") were in there too as a joined in table - why should I have to group on country when they are all the same?

How does SQL Server know that all the values are the same?

>Also - there are times when I might want the "last" one - "last" being determined by the group/sort orders.

The sorting is done after the Grouping has been calculated. Do you really want SQL Server to sort the data twice to solve you query?

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform