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

Question: Who constructed the car with a grid under 15, 77 laps, and a Time/Retired of + 0.771?
SQL: SELECT "constructor" FROM "race" WHERE "grid"<15 AND "laps"=77 AND "time_retired"='+ 0.771';

Question: What is the average grid for damon hill with over 74 laps?
SQL: SELECT AVG("grid") FROM "race" WHERE "laps">74 AND "driver"='damon hill';