I need to sort a PostgreSQL table ascending by a date/time field, e.g. last_updated
.
But that field is allowed to be empty or null and I want records with null in last_updated
come before non-null last_updated
.
Is this possible?
order by last_updated asc -- and null last_updated records first ??