question: What is the average grid for johnny dumfries with less than 8 laps?
answer: SELECT AVG(grid) FROM table_name_26 WHERE driver = "johnny dumfries" AND laps < 8
context: CREATE TABLE table_name_26 (grid INTEGER, driver VARCHAR, laps VARCHAR)