Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL GROUP BY Question
Message
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:
01082942
Views:
8
>When there is no ORDER BY clause, the GROUP BY clause seems to cause the records to be
>returned ordered by the group column.
>
>I don't see this in the docs. Is this the correct behaviour?

When there's no ORDER BY clause the order of the records returned is not guarantied. Using the GROUP BY can result in the records be ordered by columns listed in the GROUP BY but it's not a standard behavior and you should not not rely on it.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform