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_46 (type VARCHAR, built VARCHAR)
system
Which type of locomotive was built in 1923?
user
SELECT type FROM table_name_46 WHERE built = 1923
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_46 (type VARCHAR, built VARCHAR)<|im_end|>
<|im_start|>user
Which type of locomotive was built in 1923?<|im_end|>
