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_22 (grid INTEGER, manufacturer VARCHAR, time_retired VARCHAR)
system
What was the highest grid value for riders with manufacturer of Aprilia and time of +1.660?
user
SELECT MAX(grid) FROM table_name_22 WHERE manufacturer = "aprilia" AND time_retired = "+1.660"
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_22 (grid INTEGER, manufacturer VARCHAR, time_retired VARCHAR)<|im_end|>
<|im_start|>user
What was the highest grid value for riders with manufacturer of Aprilia and time of +1.660?<|im_end|>
