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_29 (grid INTEGER, laps VARCHAR, team VARCHAR)
system
What is the average grid number that had Team China with less than 10 laps?
user
SELECT AVG(grid) FROM table_name_29 WHERE laps < 10 AND team = "china"
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_29 (grid INTEGER, laps VARCHAR, team VARCHAR)<|im_end|>
<|im_start|>user
What is the average grid number that had Team China with less than 10 laps?<|im_end|>
