PDA

View Full Version : Order By THEN order By


christrinder
01-03-2003, 04:48 PM
Hello,

Is there any way to order the results by two different fields, i.e. like you would do in Excel, data sort by column A and then by column B?

Thanks in advance for any help.

Chris

whammy
01-03-2003, 10:28 PM
ORDER BY field1, field2

default is ASC (ascending)

ORDER BY field1, field2, DESC

:D

christrinder
01-04-2003, 04:43 PM
That simple then!? Thanks.