Task: Text to Code
Input (English): find the average LifeExpectancy in country table whose Continent equals Africa
Output (English): SELECT Avg ( LifeExpectancy ) FROM country WHERE Continent = "Africa"