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

Tables:

Table: conference
|   Conference_ID | Conference_Name   |   Year | Location    |
|----------------:|:------------------|-------:|:------------|
|               1 | ACL               |   2003 | Philippines |
|               2 | ACL               |   2004 | Philippines |
|               3 | Naccl             |   2003 | Japan       |
|               4 | Naccl             |   2004 | China       |
|               5 | AICS              |   2003 | England     |
|               6 | AICS              |   2004 | USA         |


Table: institution
|   Institution_ID | Institution_Name             | Location               |   Founded |
|-----------------:|:-----------------------------|:-----------------------|----------:|
|                1 | Illinois State University    | Normal, Illinois       |      1857 |
|                2 | Bradley University           | Peoria, Illinois       |      1897 |
|                3 | Eureka College               | Eureka, Illinois       |      1855 |
|                4 | Hedding College (defunct)    | Abingdon, Illinois     |      1855 |
|                5 | Illinois College             | Jacksonville, Illinois |      1829 |
|                6 | Illinois Wesleyan University | Bloomington, Illinois  |      1850 |
|                7 | Lincoln College, Illinois    | Lincoln, Illinois      |      1865 |
|                8 | Lombard College (defunct)    | Galesburg, Illinois    |      1853 |
|                9 | Millikin University          | Decatur, Illinois      |      1901 |
|               10 | Shurtleff College (defunct)  | Alton, Illinois        |      1827 |


Table: staff
|   staff_ID | name              |   Age | Nationality   |   Institution_ID |
|-----------:|:------------------|------:|:--------------|-----------------:|
|          1 | Bobby Jackson     |    24 | United States |                1 |
|          2 | Casey Jacobsen    |    23 | United States |                2 |
|          3 | Alexander Johnson |    42 | United Kindom |                3 |
|          4 | Chris Johnson     |    34 | Canada        |                4 |
|          5 | Bobby Jones       |    28 | United States |                5 |
|          6 | Dahntay Jones     |    30 | United Kindom |               10 |
|          7 | Damon Jones       |    41 | United Kindom |                8 |


Table: conference_participation
|   Conference_ID |   staff_ID | role        |
|----------------:|-----------:|:------------|
|               1 |          6 | Speaker     |
|               2 |          5 | Sponsor     |
|               1 |          4 | Speaker     |
|               1 |          2 | Sponsor     |
|               2 |          7 | Speaker     |
|               4 |          5 | Participant |
|               1 |          1 | Sponsor     |
|               5 |          5 | Speaker     |
|               6 |          5 | Participant |


Question: What are the names of the staff members who have been both a speaker and a sponsor at some conference?

db_id: conference
tables: name: conference
data: conference.csv
name: institution
data: institution.csv
name: staff
data: staff.csv
name: conference_participation
data: conference_participation.csv
label: SELECT T1.name FROM staff AS T1 JOIN conference_participation AS T2 ON T1.staff_id  =  T2.staff_id WHERE T2.role  =  'Speaker' INTERSECT SELECT T1.name FROM staff AS T1 JOIN conference_participation AS T2 ON T1.staff_id  =  T2.staff_id WHERE T2.role  =  'Sponsor'
sqlite_path: $MMTU_HOME/data_sqlite/spider/spider_data/test_database/conference/conference.sqlite