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

Question: What is the largest grid with a Driver of ralph firman, and a Lap smaller than 18?
SQL: SELECT MAX("grid") FROM "classification" WHERE "driver"='ralph firman' AND "laps"<18;

Question: What time/retired has a Grid larger than 3, and a Driver of kimi räikkönen?
SQL: SELECT "time_retired" FROM "classification" WHERE "grid">3 AND "driver"='kimi räikkönen';