What is the average grid for johnny dumfries with less than 8 laps?
CREATE TABLE table_name_26 (grid INTEGER, driver VARCHAR, laps VARCHAR)
SELECT AVG(grid) FROM table_name_26 WHERE driver = "johnny dumfries" AND laps < 8
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (grid INTEGER, driver VARCHAR, laps VARCHAR) Question: What is the average grid for johnny dumfries with less than 8 laps? [/INST] SELECT AVG(grid) FROM table_name_26 WHERE driver = "johnny dumfries" AND laps < 8 </s>