Task: NL2SQL (source dataset: KaggleDBQA)

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

Tables:

Table: torrents
| groupName                               |   totalSnatched | artist                                     |   groupYear | releaseType   |   groupId |   id |
|:----------------------------------------|----------------:|:-------------------------------------------|------------:|:--------------|----------:|-----:|
| superappin&#39;                         |             239 | grandmaster flash & the furious five       |        1979 | single        |    720949 |    0 |
| spiderap / a corona jam                 |             156 | ron hunt & ronnie g & the sm crew          |        1979 | single        |    728752 |    1 |
| rapper&#39;s delight                    |             480 | sugarhill gang                             |        1979 | single        |     18513 |    2 |
| rap-o clap-o / el rap-o clap-o          |             200 | joe bataan                                 |        1979 | single        |    756236 |    3 |
| christmas rappin&#39;                   |             109 | kurtis blow                                |        1979 | single        |  71818958 |    4 |
| wack rap                                |              17 | wackies disco rock band                    |        1979 | single        |  73066446 |    5 |
| rhymin&#39; and rappin&#39; / watch dog |              13 | ann winley & paulett winley & tanya winley |        1979 | single        |  73067913 |    6 |
| spoonin rap                             |               6 | spoonin gee                                |        1979 | single        |  73067922 |    7 |
| sugarhill gang                          |            1424 | sugarhill gang                             |        1980 | album         |    669571 |    8 |
| kurtis blow                             |            1080 | kurtis blow                                |        1980 | album         |    153996 |    9 |


Table: tags
|   index |   id | tag           |
|--------:|-----:|:--------------|
|       0 |    0 | 1970s         |
|       1 |    0 | funk          |
|       2 |    0 | disco         |
|       3 |    2 | 1970s         |
|       4 |    2 | new.york      |
|       5 |    2 | united.states |
|       6 |    3 | 1970s         |
|       7 |    3 | funk          |
|       8 |    3 | soul          |
|       9 |    3 | disco         |


Question: Which tag is used for which release title?

db_id: WhatCDHipHop
tables: name: torrents
data: torrents.csv
name: tags
data: tags.csv
label: SELECT T1.tag, T2.groupName FROM torrents as T2 JOIN tags as T1 ON T1.id = T2.id
sqlite_path: $MMTU_HOME/data_sqlite/KaggleDBQA/databases/WhatCDHipHop/WhatCDHipHop.sqlite