Skip to content

IS

SELECT city, population
FROM cities
WHERE population IS NULL;
city | population
------------|-----------
Sacramento | NULL
Riverside | NULL

The SQL query above checks the table cities for records where the population field is NULL. Two cities, Sacramento and Riverside have NULL values in the population field.