How many cities are there that have more than 3 airports?
CREATE TABLE airports (city VARCHAR)
SELECT COUNT(*) FROM (SELECT city FROM airports GROUP BY city HAVING COUNT(*) > 3)
### Context: CREATE TABLE airports (city VARCHAR) ### Question: How many cities are there that have more than 3 airports? ### Answer: SELECT COUNT(*) FROM (SELECT city FROM airports GROUP BY city HAVING COUNT(*) > 3)