SELECT *
FROM mytable
ORDER BY IF(rank > 0, 0, 42),
rank
Dimana 42 adalah setiap hal positif nomor. Saya memilih 42 hanya karena https://en.wikipedia.org/ wiki/Answer_to_the_Ultimate_Question_of_Life,_the_Universe,_and_Everything