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_58 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)
system
Who constructed the car that retired due to brakes with a grid larger than 17?
user
SELECT constructor FROM table_name_58 WHERE grid > 17 AND time_retired = "brakes"
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_58 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)<|im_end|>
<|im_start|>user
Who constructed the car that retired due to brakes with a grid larger than 17?<|im_end|>
