#database #mysql #reading-list

🔗 MySQL ORDER BY with nulls first or last (at bottom or top)
gregrs-uk.github.io

Want to create a MySQL query where a column is sorted in ascending order but with nulls last (at the bottom), or where a column is sorted in descending order but with nulls first (at the top)? You can use ISNULL(column) to do this.

continue reading on gregrs-uk.github.io

⚠️ This post links to an external website. ⚠️