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

Question: What was the average number of laps completed by KTM riders, with times of +56.440 and grid values under 11?
SQL: SELECT AVG("laps") FROM "125cc_classification" WHERE "manufacturer"='ktm' AND "time_retired"='+56.440' AND "grid"<11;

Question: What was the highest grid value for riders with manufacturer of Aprilia and time of +1.660?
SQL: SELECT MAX("grid") FROM "125cc_classification" WHERE "manufacturer"='aprilia' AND "time_retired"='+1.660';