576 B
576 B
title | kind | slug | created_at | tags | |||||
---|---|---|---|---|---|---|---|---|---|
SQL: Ordering with NULL values | article | sql-ordering-with-null-values | 2008-11-14 |
|
First seen at Kabisa Blog: SQL: Ordering with NULL values
This post tells you how to sort NULL
values in a column to the bottom and sort the remaining non-NULL
values.
This is really great in combination with LEFT JOIN queries that may yield NULL values.