Looking for sql Answers? Try Ask4KnowledgeBase
Looking for sql Keywords? Try Ask4Keywords

SQL Sorting by multiple columns


Example

SELECT DisplayName, JoinDate, Reputation
FROM Users
ORDER BY JoinDate, Reputation
DisplayNameJoinDateReputation
Community2008-09-151
Jeff Atwood2008-09-1625784
Joel Spolsky2008-09-1637628
Jarrod Dixon2008-10-0311739
Geoff Dalgas2008-10-0312567