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_1 (tournament VARCHAR)
system
Can you tell me the Tournament that has the 2009 of 1r, and the 2012 of w?
user
SELECT tournament FROM table_name_1 WHERE 2009 = "1r" AND 2012 = "w"
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_1 (tournament VARCHAR)<|im_end|>
<|im_start|>user
Can you tell me the Tournament that has the 2009 of 1r, and the 2012 of w?<|im_end|>
