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_52 (constructor VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)
system
Tell me constructor for Laps less than 17 and Grid more than 11 for alan jones
user
SELECT constructor FROM table_name_52 WHERE laps < 17 AND grid > 11 AND driver = "alan jones"
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_52 (constructor VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)<|im_end|>
<|im_start|>user
Tell me constructor for Laps less than 17 and Grid more than 11 for alan jones<|im_end|>
