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

Question: how many laps have a time/retired of +1 lap and mark blundell is the driver?
SQL: SELECT AVG("laps") FROM "race" WHERE "time_retired"='+1 lap' AND "driver"='mark blundell';

Question: what is the highest grid when the time/retired is fuel pump and the laps is more than 26?
SQL: SELECT MAX("grid") FROM "race" WHERE "time_retired"='fuel pump' AND "laps">26;

Question: what is the least laps for driver gerhard berger with a grid more than 6?
SQL: SELECT MIN("laps") FROM "race" WHERE "driver"='gerhard berger' AND "grid">6;