Task: NL2SQL (source dataset: Spider)

Natural language to SQL, also known as NL2SQL, is the problem of generating a SQL query that can be executed on a input table, for a given natural language question.

You will be given an input table called "table" in the markdown format, as well as a question. Your task is to generate an SQL query that can be executed on the input table to answer the question.

Please ensure that the generated SQL only return relevant columns being specifically asked in the question (e.g., in SQL please don't return more than one columns in SELECT if only one column is needed to answer the given question, and similarly please refrain from using SELECT * unless the entire row is needed to answer the question).
 
When generating SQL code, please use the SQLite syntax to ensure that your SQL is executable on SQLite3. Use only columns that are present in the table, always use quotes around your column and table names (some column names have punctuation or special characters), and refer to the columns using the column-names exactly as they appear in the table, do not add or remove punctuation (underscore, slash, etc.)

No explanation, return the code only with the following markdown codeblock format : ```sql<SQL CODE>```. For example, ```sql
SELECT * FROM "table"
``` is a valid format.

Database:
country_language

Tables:

Table: languages
|   id | name      |
|-----:|:----------|
|    1 | Icelandic |
|    2 | Swedish   |
|    3 | English   |
|    4 | Danish    |
|    5 | Finnish   |
|    6 | German    |
|    7 | French    |
|    8 | Norwegian |
|    9 | Italian   |
|   10 | Romansh   |


Table: countries
|   id | name          |   overall_score |   justice_score |   health_score |   education_score |   economics_score |   politics_score |
|-----:|:--------------|----------------:|----------------:|---------------:|------------------:|------------------:|-----------------:|
|    1 | Iceland       |           100   |           100   |           90.5 |              96.7 |              88   |             92.8 |
|    2 | Sweden        |            99.2 |            90.8 |           94.8 |              95.5 |              90.3 |             93.1 |
|    3 | Canada        |            96.6 |           100   |           92.7 |              92   |              91   |             66.9 |
|    4 | Denmark       |            95.3 |            86.1 |           94.9 |              97.6 |              88.5 |             78.4 |
|    5 | Finland       |            92.8 |            80.2 |           91.4 |              91.3 |              86.8 |            100   |
|    6 | Switzerland   |            91.9 |            87.9 |           94.4 |              97.3 |              82.6 |             74.6 |
|    7 | Norway        |            91.3 |            79.3 |          100   |              74   |              93.5 |             93.9 |
|    8 | United States |            89.8 |            82.9 |           92.8 |              97.3 |              83.9 |             68.6 |
|    9 | Australia     |            88.2 |            80.7 |           93.3 |              93.9 |              85.3 |             65.1 |


Table: official_languages
|   language_id |   country_id |
|--------------:|-------------:|
|             1 |            1 |
|             2 |            2 |
|             3 |            3 |
|             4 |            4 |
|             5 |            5 |
|             6 |            6 |
|             7 |            6 |
|             9 |            6 |
|            10 |            6 |
|             8 |            7 |


Question: Show the official languages and the number of countries speaking each language.

db_id: country_language
tables: name: languages
data: languages.csv
name: countries
data: countries.csv
name: official_languages
data: official_languages.csv
label: SELECT T2.name ,  COUNT(*) FROM official_languages AS T1 JOIN languages AS T2 ON T1.language_id  =  T2.id GROUP BY T2.name
sqlite_path: $MMTU_HOME/data_sqlite/spider/spider_data/test_database/country_language/country_language.sqlite