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_40 (time VARCHAR, laps VARCHAR, rider VARCHAR)
system
Which Time has Laps smaller than 28, and a Rider of nicky hayden?
user
SELECT time FROM table_name_40 WHERE laps < 28 AND rider = "nicky hayden"
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_40 (time VARCHAR, laps VARCHAR, rider VARCHAR)<|im_end|>
<|im_start|>user
Which Time has Laps smaller than 28, and a Rider of nicky hayden?<|im_end|>
