Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql order by date asc null last

ORDER BY IF(ISNULL(my_field),1,0),my_field ASC
 
PREVIOUS NEXT
Tagged: #mysql #order #date #asc #null
ADD COMMENT
Topic
Name
8+4 =