There is a table with blog posts where there are two fields - publish_time and date_posted , the fields of publish_time can be empty. Question : How can I use a sql query to sort the data so that sorting takes place across the publish_time field, and if the record is empty - by date_posted ?
|