You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_31 (team VARCHAR, league VARCHAR, year VARCHAR)
system
What team has a national league in 2001?
user
SELECT team FROM table_name_31 WHERE league = "national" AND year = 2001
assistant
<|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_31 (team VARCHAR, league VARCHAR, year VARCHAR)<|im_end|>
<|im_start|>user
What team has a national league in 2001?<|im_end|>
