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

Question: Which Time/Retired has Laps smaller than 100, and Points larger than 0?
SQL: SELECT "time_retired" FROM "race" WHERE "laps"<100 AND "points">0;

Question: Which Laps have a Time/Retired of + 4 laps, and a Grid larger than 18?
SQL: SELECT AVG("laps") FROM "race" WHERE "time_retired"='+ 4 laps' AND "grid">18;

Question: Which Team has Laps of 100, and a Time/Retired of +8.6 secs?
SQL: SELECT "team" FROM "race" WHERE "laps"=100 AND "time_retired"='+8.6 secs';