CREATE TABLE competition_record (Competition_ID INT, Farm_ID INT, Rank INT)
CREATE TABLE farm (Farm_ID INT, Year INT, Total_Horses FLOAT, Working_Horses FLOAT, Total_Cattle FLOAT, Oxen FLOAT, Bulls FLOAT, Cows FLOAT, Pigs FLOAT, Sheep_and_Goats FLOAT)
CREATE TABLE farm_competition (Competition_ID INT, Year INT, Theme TEXT, Host_city_ID INT, Hosts TEXT)
CREATE TABLE city (City_ID INT, Official_Name TEXT, Status TEXT, Area_km_2 FLOAT, Population FLOAT, Census_Ranking TEXT)

A pie chart about what are the statuses and average populations of each city?
SELECT Status, AVG(Population) FROM city GROUP BY Status
SELECT "Status", AVG("Population") FROM "city" GROUP BY "Status"