Task: Text to Code
Input (English): find the number of different Code2 in country table whose Continent equals Africa
Output (English): SELECT Count ( DISTINCT Code2 ) FROM country WHERE Continent = "Africa"