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:
institution_sports

Tables:

Table: institution
|   Institution_ID | Name                           | Team         | City      | Province   |   Founded | Affiliation   |   Enrollment | Endowment   | Stadium             |   Capacity |
|-----------------:|:-------------------------------|:-------------|:----------|:-----------|----------:|:--------------|-------------:|:------------|:--------------------|-----------:|
|                1 | University of British Columbia | Thunderbirds | Vancouver | BC         |      1908 | Public        |        43579 | $1.01B      | Thunderbird Stadium |       3500 |
|                2 | University of Calgary          | Dinos        | Calgary   | AB         |      1966 | Public        |        28196 | $444M       | McMahon Stadium     |      35650 |
|                3 | University of Alberta          | Golden Bears | Edmonton  | AB         |      1908 | Public        |        36435 | $751M       | Foote Field         |       3500 |
|                4 | University of Saskatchewan     | Huskies      | Saskatoon | SK         |      1907 | Public        |        19082 | $136.7M     | Griffiths Stadium   |       4997 |
|                5 | University of Regina           | Rams         | Regina    | SK         |      1911 | Public        |        12800 | $25.9M      | Mosaic Stadium      |      30048 |


Table: Championship
|   Institution_ID | Nickname   |   Joined |   Number_of_Championships |
|-----------------:|:-----------|---------:|--------------------------:|
|                1 | Colonials  |     1993 |                         0 |
|                2 | Terrapins  |     1994 |                         0 |
|                3 | Wildcats   |     1995 |                         1 |
|                4 | Tar Heels  |     1995 |                         5 |


Question: Show the provinces that have both institutions founded before 1920 and institutions founded after 1950.

db_id: institution_sports
tables: name: institution
data: institution.csv
name: Championship
data: Championship.csv
label: SELECT Province FROM institution WHERE Founded  <  1920 INTERSECT SELECT Province FROM institution WHERE Founded  >  1950
sqlite_path: $MMTU_HOME/data_sqlite/spider/spider_data/test_database/institution_sports/institution_sports.sqlite