CREATE TABLE "classification" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);

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 "classification" 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 "classification" WHERE "laps"<9 AND "time_retired"='engine';

Question: Which driver has a grid of 3?
SQL: SELECT "driver" FROM "classification" 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 "classification" WHERE "constructor"='honda' AND "laps"=31;