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

Question: What is the sum of a grid for driver Patrick Carpentier and less than 103 laps?
SQL: SELECT SUM("grid") FROM "race" WHERE "driver"='patrick carpentier' AND "laps"<103;

Question: What team has 0 points and a contact tired/retired, and 71 laps?
SQL: SELECT "team" FROM "race" WHERE "points"=0 AND "time_retired"='contact' AND "laps"=71;

Question: What is the sum of lap for the Dale Coyne Racing Team, and 0 points?
SQL: SELECT SUM("laps") FROM "race" WHERE "team"='dale coyne racing' AND "points"=0;

Question: What is the lowest number of laps with more than 16 points?
SQL: SELECT MIN("laps") FROM "race" WHERE "points">16;

Question: What team has 104 laps and a grid of 10?
SQL: SELECT "team" FROM "race" WHERE "laps"=104 AND "grid"=10;