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_96 (grid INTEGER, rider VARCHAR, laps VARCHAR)
system
What is the lowest grid with rider casey stoner and laps that are smaller than 27?
user
SELECT MIN(grid) FROM table_name_96 WHERE rider = "casey stoner" AND laps < 27
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_96 (grid INTEGER, rider VARCHAR, laps VARCHAR)<|im_end|>
<|im_start|>user
What is the lowest grid with rider casey stoner and laps that are smaller than 27?<|im_end|>
