human
Schema:
city (City_ID, Official_Name, Status, Area_km_2, Population, Census_Ranking)
farm (Farm_ID, Year, Total_Horses, Working_Horses, Total_Cattle, Oxen, Bulls, Cows, Pigs, Sheep_and_Goats)
farm_competition (Competition_ID, Year, Theme, Host_city_ID, Hosts)
competition_record (Competition_ID, Farm_ID, Rank)
Please answer with SQL.
assistant
Sure, I understand.
human
What is the population of city Id 2?
assistant
SELECT population FROM city WHERE City_ID = 2;
human
What is the census ranking of Perth-Andover?
assistant
SELECT census_ranking FROM city WHERE official_name = "Perth-Andover" ;