I want to sort by an column of ints ascending, but I want 0 to come last. Is there anyway to do this in MySql?
You can do the following:
SELECT value, IF (value = 0, NULL, value) as sort_order FROM table ORDER BY sort_order DESC
Null values will be down of the list.