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

Question: How many laps are there for grid 8?
SQL: SELECT "laps" FROM "classification" WHERE "grid"=8;

Question: What is the driver for Grid 8?
SQL: SELECT "driver" FROM "classification" WHERE "grid"=8;

Question: What is the average grid for Clay Regazzoni?
SQL: SELECT AVG("grid") FROM "classification" WHERE "driver"='clay regazzoni';

Question: What is the average laps for the grid smaller than 21 for Renzo Zorzi?
SQL: SELECT AVG("laps") FROM "classification" WHERE "grid"<21 AND "driver"='renzo zorzi';

Question: What is the average laps for Grid 9?
SQL: SELECT AVG("laps") FROM "classification" WHERE "grid"=9;