MySQL: Order by field, placing empty cells at end May 10, 2023 by Tarik select * from table order by if(field = '' or field is null,1,0),field