How many students live in each city and what are their average ages?
select count(*), avg(age), city_code from student group by city_code