I have tasks in a MySQL database, and one of the fields is deadline date. Not every task has to have to a deadline date.
How do I use SQL to sort the tasks by deadline date, but put the ones without a deadline date in the back of the result set.
Now, the null dates show up first, then the rest are sorted by deadline date earliest to latest.