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

Question: What company was Constructor when there were 16 laps and grid was 9?
SQL: SELECT "constructor" FROM "race" WHERE "laps"=16 AND "grid"=9;

Question: What is the Time/Retired when lotus - ford was constructor and the laps were less than 17?
SQL: SELECT "time_retired" FROM "race" WHERE "constructor"='lotus - ford' AND "laps"<17;

Question: What is the number of the grid when there was a Time/Retired of engine and less than 9 laps?
SQL: SELECT SUM("grid") FROM "race" WHERE "time_retired"='engine' AND "laps"<9;