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

Question: What is the highest grid for Aprilia vehicles, laps over 5, and a retirement finish?
SQL: SELECT MAX("grid") FROM "125cc_classification" WHERE "manufacturer"='aprilia' AND "time"='retirement' AND "laps">5;

Question: What is the average laps completed by riders with times of +2:11.524?
SQL: SELECT AVG("laps") FROM "125cc_classification" WHERE "time"='+2:11.524';

Question: Which rider has a time of +2:11.524?
SQL: SELECT "rider" FROM "125cc_classification" WHERE "time"='+2:11.524';

Question: What is the average grid for vehicles manufactured by Aprilia and having run more than 16 laps?
SQL: SELECT AVG("grid") FROM "125cc_classification" WHERE "manufacturer"='aprilia' AND "laps">16;