ThisSELECT
co1,
col2,
-- etc...
colN
FROM
YourTable
ORDER BY
col1 ASC,
col2 ASC,
-- etc...
colN ASC
ASC is the default, so you can omit it. Also, you can refer to columns in the select list by their ordinal number (in the select)SELECT
co1,
col2,
-- etc...
colN
FROM
YourTable
ORDER BY
1,2,3,4,
-- etc
N