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

Question: What is the grid when the laps were 24?
SQL: SELECT COUNT("grid") FROM "classification" WHERE "laps"=24;

Question: Who constructed Chris Amon's car?
SQL: SELECT "constructor" FROM "classification" WHERE "driver"='chris amon';

Question: What was Jack Brabham's highest grid when his laps were more than 90?
SQL: SELECT MAX("grid") FROM "classification" WHERE "driver"='jack brabham' AND "laps">90;

Question: What was CHris Amon's highest lap when his grid was 4?
SQL: SELECT MAX("laps") FROM "classification" WHERE "driver"='chris amon' AND "grid"<4;