Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT * FROM table ORDER BY Name=0,-Name DESC, Name
- SELECT t
- FROM table t
- ORDER BY t.name+0 ASC, t.name
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement