CREATE TABLE "125cc_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);

Question: What is the time/retired with 22 laps and a grid of 29?
SQL: SELECT "time_retired" FROM "125cc_classification" WHERE "laps"=22 AND "grid"=29;

Question: What is the highest number of laps with a time of +6.643 and grid less than 2?
SQL: SELECT MAX("laps") FROM "125cc_classification" WHERE "time_retired"='+6.643' AND "grid"<2;