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 (laps INTEGER, bike VARCHAR, grid VARCHAR)
system
How many total laps were ridden when the grid was 7 and the rider rode the Honda CBR600RR?
user
SELECT SUM(laps) FROM table_name_96 WHERE bike = "honda cbr600rr" AND grid = 7
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 (laps INTEGER, bike VARCHAR, grid VARCHAR)<|im_end|>
<|im_start|>user
How many total laps were ridden when the grid was 7 and the rider rode the Honda CBR600RR?<|im_end|>
