If the manufacturer is Yamaha, and the laps driven were under 32, what's the average of all grid sizes with that criteria?
CREATE TABLE table_name_76 (grid INTEGER, laps VARCHAR, manufacturer VARCHAR)
SELECT AVG(grid) FROM table_name_76 WHERE laps < 32 AND manufacturer = "yamaha"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (grid INTEGER, laps VARCHAR, manufacturer VARCHAR) Question: If the manufacturer is Yamaha, and the laps driven were under 32, what's the average of all grid sizes with that criteria? [/INST] SELECT AVG(grid) FROM table_name_76 WHERE laps < 32 AND manufacturer = "yamaha" </s>