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

Question: What is the average number of laps for grid 8?
SQL: SELECT AVG("laps") FROM "race" WHERE "grid"=8;

Question: Who built the car that has a Time/Retired of 1:34:12.912?
SQL: SELECT "constructor" FROM "race" WHERE "time_retired"='1:34:12.912';