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

Question: What driver shows grid as 18?
SQL: SELECT "driver" FROM "race" WHERE "grid"=18;

Question: What is the Time/Retired for less than 52 laps in grid 19?
SQL: SELECT "time_retired" FROM "race" WHERE "laps"<52 AND "grid"=19;

Question: What driver has more than 39 laps on gird 15?
SQL: SELECT "driver" FROM "race" WHERE "laps">39 AND "grid"=15;

Question: What is the number of the grid for Johnny Herbert with more than 52 laps?
SQL: SELECT SUM("grid") FROM "race" WHERE "driver"='johnny herbert' AND "laps">52;

Question: What is the least amount of laps for Luca Badoer?
SQL: SELECT MIN("laps") FROM "race" WHERE "driver"='luca badoer';