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

Question: Tell me the Laps for time/retired of +8 laps
SQL: SELECT "laps" FROM "race" WHERE "time_retired"='+8 laps';

Question: Tell me the sum of laps with a time/retired of +13 laps with grid more than 18
SQL: SELECT SUM("laps") FROM "race" WHERE "time_retired"='+13 laps' AND "grid">18;

Question: I want the lowest laps that have a grid of 12
SQL: SELECT MIN("laps") FROM "race" WHERE "grid"=12;

Question: Tell me the sum of the grid with alfa romeo and toulo de graffenried
SQL: SELECT SUM("grid") FROM "race" WHERE "constructor"='alfa romeo' AND "driver"='toulo de graffenried';