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

Question: What was time/retired with less than 67 laps and 6 points?
SQL: SELECT "time_retired" FROM "race" WHERE "laps"<67 AND "points"=6;

Question: How many average laps for Alex Tagliani with more than 17 points?
SQL: SELECT AVG("laps") FROM "race" WHERE "driver"='alex tagliani' AND "points">17;