Table: belgian_grand_prix_1965
Columns: driver
constructor
laps
time_retired
grid

Question: Where the time/retired is +1 lap, the constructor is BRM, and the grid is above 1, what's the highest laps recorded?
SQL: SELECT MAX("laps") FROM belgian_grand_prix_1965 WHERE "time_retired" = '+1 lap' AND "constructor" = 'brm' AND "grid" > 1

Question: When the laps driven were under 9 and the time/retired recorded was engine, what's the total number of grid values?
SQL: SELECT COUNT("grid") FROM belgian_grand_prix_1965 WHERE "laps" < 9 AND "time_retired" = 'engine'

Question: Which driver has a grid of 3?
SQL: SELECT "driver" FROM belgian_grand_prix_1965 WHERE "grid" = 3

Question: When the laps are 31 and the constructor was honda, what's the sum of all grid values?
SQL: SELECT SUM("grid") FROM belgian_grand_prix_1965 WHERE "constructor" = 'honda' AND "laps" = 31