Task: Text to Code
Input (English): SQL: SELECT country , Avg ( y ) FROM airports GROUP BY country
Feedback: Rather than y , take elevation and it should find it for each country .
Output (English): SELECT avg(elevation) ,  country FROM airports GROUP BY country