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_76 (grid INTEGER, laps VARCHAR, manufacturer VARCHAR)
system
If the manufacturer is Yamaha, and the laps driven were under 32, what's the average of all grid sizes with that criteria?
user
SELECT AVG(grid) FROM table_name_76 WHERE laps < 32 AND manufacturer = "yamaha"
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_76 (grid INTEGER, laps VARCHAR, manufacturer VARCHAR)<|im_end|>
<|im_start|>user
If the manufacturer is Yamaha, and the laps driven were under 32, what's the average of all grid sizes with that criteria?<|im_end|>
