user: Question: What is the total number of laps associated with 8 points and a grid under 8?
Columns: ['Driver', 'Team', 'Laps', 'Time/Retired', 'Grid', 'Points']
Types: ['text', 'text', 'real', 'text', 'real', 'text']
Sample row: ['Sébastien Bourdais', 'Newman/Haas Racing', 166.0, '1:29:01.061', 3.0, '32']
SQL:

assistant: SELECT SUM("Laps") FROM "Table" WHERE "Points" = '8' AND "Grid" < 8.0;