-- Database schema
| city : City_ID [ INT ] primary_key , Official_Name [ TEXT ] , Status [ TEXT ] , Area_km_2 [ INT ] , Population [ INT ] , Census_Ranking [ TEXT ] | farm : Farm_ID [ INT ] primary_key , Year [ INT ] , Total_Horses [ INT ] , Working_Horses [ INT ] , Total_Cattle [ INT ] , Oxen [ INT ] , Bulls [ INT ] , Cows [ INT ] , Pigs [ INT ] , Sheep_and_Goats [ INT ] | farm_competition : Competition_ID [ INT ] primary_key , Year [ INT ] , Theme [ TEXT ] , Host_city_ID [ INT ] farm_competition.Host_city_ID = city.City_ID , Hosts [ TEXT ] | competition_record : Competition_ID [ INT ] primary_key competition_record.Competition_ID = farm_competition.Competition_ID , Farm_ID [ INT ] competition_record.Farm_ID = farm.Farm_ID , Rank [ INT ] |
-- -- What are the official names of cities that have population over 1500 or less than 500?

SELECT Official_Name FROM city WHERE Population  >  1500 OR Population  <  500;