Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL - Order By - Use multiple fields?
Message
From
13/09/1999 12:22:16
 
 
To
13/09/1999 12:18:08
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:
00264042
Message ID:
00264048
Views:
21
>In using a SELECT statement to store a variety of field information in a cursor, can I have an ORDER BY statement like this...
>
> ORDER BY client.name,code.codetype,log.logdate
>
>so that the resulting records are first sorted by the clients name, then under that name, the type of code and finally the date.

That's exactly the way to do it! :-)
Sylvain Demers
Previous
Reply
Map
View

Click here to load this message in the networking platform