user: ### NOW ANSWER:
Question: What is the mean number of laps when the grid was 8?
Columns: ['Rider', 'Bike', 'Laps', 'Time', 'Grid']
Types: ['text', 'text', 'real', 'text', 'real']
Sample row: ['Noriyuki Haga', 'Yamaha YZF-R1', 18.0, '32:05.318', 1.0]
SQL:

assistant: SELECT AVG("Laps") FROM "Table" WHERE "Grid" = 8.0;