Schema: CREATE TABLE student (city_code VARCHAR, age INTEGER)
Question: Find the average age of all students living in the each city.
SQL: SELECT AVG(age), city_code FROM student GROUP BY city_code