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_52 (laps INTEGER, rider VARCHAR)
system
How many laps did pere riba ride?
user
SELECT SUM(laps) FROM table_name_52 WHERE rider = "pere riba"
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_52 (laps INTEGER, rider VARCHAR)<|im_end|>
<|im_start|>user
How many laps did pere riba ride?<|im_end|>
