Also called: IS NULL, COALESCE, NOT NULL
In plain English
NULL never equals anything, not even NULL, so = NULL never matches; you must write IS NULL. COALESCE(a, b) returns the first value that isn't NULL.
Example
Leads without a phone number have NULL in that column, not an empty text.
In code
SELECT name, COALESCE(phone, 'no phone') FROM leads WHERE email IS NULL;
Learn more
Related terms
Added 2026-11-30 · Last reviewed 2026-11-30