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

Question: In what grid did Richard Robarts make 36 laps?
SQL: SELECT SUM("grid") FROM "classification" WHERE "driver"='richard robarts' AND "laps"<36;

Question: How many laps were completed in grid 18?
SQL: SELECT SUM("laps") FROM "classification" WHERE "grid"=18;