SELECT * FROM some_table ORDER BY some_col IS NULL;