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

Question: If the manufacturer is Yamaha, and the laps driven were under 32, what's the average of all grid sizes with that criteria?
SQL: SELECT AVG("grid") FROM "moto_gp_classification" WHERE "laps"<32 AND "manufacturer"='yamaha';

Question: What's the smallest amount of laps that suzuki ran with a grid value of 8?
SQL: SELECT MIN("laps") FROM "moto_gp_classification" WHERE "manufacturer"='suzuki' AND "grid"=8;