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_24673710_1 (winning_boat VARCHAR, year VARCHAR)
system
When 2012 is the year what is the winning boat?
user
SELECT winning_boat FROM table_24673710_1 WHERE year = 2012
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_24673710_1 (winning_boat VARCHAR, year VARCHAR)<|im_end|>
<|im_start|>user
When 2012 is the year what is the winning boat?<|im_end|>
