A short note on NULLs
SQL Lesson 8
SELECT column(s)
FROM mytable
WHERE column IS/IS NOT NULL;SELECT name,role
FROM employees
WHERE building IS NULL;SELECT building_name
FROM buildings
LEFT JOIN employees
ON building_name=building
WHERE role IS NULL;Last updated