Name Rank XP
-----------------------
Craig 0 100
Morris 1 0
Roger 0 4000
I want my SQL statement to pull names from the above table in the order that the RANK field takes priority, followed by the XP field.
So the correct order would be;
Morris
Roger
Craig
I've tried a 'ORDER BY Rank ASC, XP DESC' but can't seem to get it to work.
Any tips?
Rank desc?