Database: county_public_safety
Question: How many cities are in counties that have populations of over 20000?
SQL:
SELECT count(*) FROM city WHERE county_ID IN (SELECT county_ID FROM county_public_safety WHERE population  >  20000)