I want to simply sort the table by the column "names" with NULL fields IN THE END.
I tried this:
SELECT *
FROM Table
ORDER BY (CASE
WHEN Name IS NULL THEN 1
ELSE 0
END),
name
The problem is that there is more than 1 nullable column, so obviously the above code don't resolve the problem.