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

Question: How many grids have 102 laps and a Time/Retired of + 6.18?
SQL: SELECT COUNT("grid") FROM "classification" WHERE "laps">102 AND "time_retired"='+ 6.18';

Question: How many laps did innes ireland drive with a grid higher than 11?
SQL: SELECT SUM("laps") FROM "classification" WHERE "driver"='innes ireland' AND "grid">11;

Question: What is the average grid that has a Constructor of brm, tony maggs, and a Laps larger than 102?
SQL: SELECT AVG("grid") FROM "classification" WHERE "constructor"='brm' AND "driver"='tony maggs' AND "laps">102;