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

Question: Name the highest laps for time/retired of engine and grid of 5
SQL: SELECT MAX("laps") FROM "classification" WHERE "time_retired"='engine' AND "grid"=5;

Question: Name the highest laps for maserati and +6 laps for grid more than 11
SQL: SELECT MAX("laps") FROM "classification" WHERE "constructor"='maserati' AND "time_retired"='+6 laps' AND "grid">11;

Question: Tell me the time/retired for grid 4
SQL: SELECT "time_retired" FROM "classification" WHERE "grid"=4;

Question: Tell me the driver for 58 laps
SQL: SELECT "driver" FROM "classification" WHERE "laps"=58;