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

Question: What was the time when the laps were smaller than 66 and the grid was 15?
SQL: SELECT "time_retired" FROM "race" WHERE "laps"<66 AND "grid"=15;

Question: What was the grid for anthony davidson when the laps were less than 8?
SQL: SELECT COUNT("grid") FROM "race" WHERE "driver"='anthony davidson' AND "laps"<8;