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_45 (grid INTEGER, constructor VARCHAR, laps VARCHAR)
system
What is the high grid for ferrari's with 2 laps?
user
SELECT MAX(grid) FROM table_name_45 WHERE constructor = "ferrari" AND laps = 2
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_45 (grid INTEGER, constructor VARCHAR, laps VARCHAR)<|im_end|>
<|im_start|>user
What is the high grid for ferrari's with 2 laps?<|im_end|>
