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

Question: What were the highest laps when the grid was larger than 19 and the time/retired was fuel?
SQL: SELECT MAX("laps") FROM "race" WHERE "grid">19 AND "time_retired"='fuel';

Question: Which team did Scott Pruett drive for when the grid was smaller than 20 and there were 65 laps?
SQL: SELECT "team" FROM "race" WHERE "laps"=65 AND "grid"<20 AND "driver"='scott pruett';