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

Question: What is the grid total when there are 37 laps?
SQL: SELECT COUNT("grid") FROM "classification" WHERE "laps"=37;

Question: What constructor has a grid less than 13 with under 9 laps?
SQL: SELECT "constructor" FROM "classification" WHERE "grid"<13 AND "laps"<9;