Tuesday, May 8, 2012

MySQL: Sort by column with NULLs on top

Common task, when you need to sort table data by a column, that may have null values and you want to put nulls to the top.