mysql condition where value is null or 1 code example Example: mysql where value is null SELECT * FROM contacts WHERE last_name IS NULL;