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_14 (constructor VARCHAR, laps VARCHAR, driver VARCHAR)
system
Which constructor had laps amounting to more than 21 where the driver was John Surtees?
user
SELECT constructor FROM table_name_14 WHERE laps > 21 AND driver = "john surtees"
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_14 (constructor VARCHAR, laps VARCHAR, driver VARCHAR)<|im_end|>
<|im_start|>user
Which constructor had laps amounting to more than 21 where the driver was John Surtees?<|im_end|>
