Task: Text to Code
Input (English): What are the statuses and average populations of each city?
Output (English): SELECT Status ,  avg(Population) FROM city GROUP BY Status