Which driver has 12 laps and a grid of less than 10?
CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
SELECT "driver" FROM "race" WHERE "laps"=12 AND "grid"<10;