Table: grand_prix_1967
Columns: driver
constructor
laps
time_retired
grid

Question: How many laps did mike spence complete grids above 12?
SQL: SELECT COUNT("laps") FROM grand_prix_1967 WHERE "driver" = 'mike spence' AND "grid" > 12

Question: How many average laps did brm complete in grids larger than 12?
SQL: SELECT AVG("laps") FROM grand_prix_1967 WHERE "constructor" = 'brm' AND "grid" = 12

Question: Who drove in grids more than 3 and exited in an accident?
SQL: SELECT "driver" FROM grand_prix_1967 WHERE "grid" > 3 AND "time_retired" = 'accident'

Question: In what grid did jim clark drive in?
SQL: SELECT "grid" FROM grand_prix_1967 WHERE "driver" = 'jim clark'