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

Question: When Jean Alesi had laps less than 24, what was his highest grid?
SQL: SELECT MAX("grid") FROM "race" WHERE "driver"='jean alesi' AND "laps"<24;

Question: How many laps did Ricardo Zonta drive with a grid less than 14?
SQL: SELECT SUM("laps") FROM "race" WHERE "grid"<14 AND "driver"='ricardo zonta';

Question: What was Alexander Wurz's highest grid with laps of less than 25?
SQL: SELECT MAX("grid") FROM "race" WHERE "driver"='alexander wurz' AND "laps"<25;