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

Question: How many laps have a Time/Retired of + 4 laps, and a Driver of graham hill?
SQL: SELECT "laps" FROM "classification" WHERE "time_retired"='+ 4 laps' AND "driver"='graham hill';

Question: Which Time/Retired has less than 77 laps, and a Grid of 16?
SQL: SELECT "time_retired" FROM "classification" WHERE "laps"<77 AND "grid"=16;

Question: Which Constructor has a Grid smaller than 24, more than 77 laps, and a Driver of jean-pierre beltoise?
SQL: SELECT "constructor" FROM "classification" WHERE "grid"<24 AND "laps">77 AND "driver"='jean-pierre beltoise';