CREATE TABLE "race" (
  "driver" text,
  "team" text,
  "laps" real,
  "time_retired" text,
  "grid" real,
  "points" real
);

Question: What is the highest laps for the grid of 7?
SQL: SELECT MAX("laps") FROM "race" WHERE "grid"=7;

Question: What are the average Laps for the time/retired of +16.874 secs, and a grid less than 5?
SQL: SELECT AVG("laps") FROM "race" WHERE "time_retired"='+16.874 secs' AND "grid"<5;

Question: What are the greatest points for a time/retired of +32.256 secs, and a a grid larger than 12?
SQL: SELECT MAX("points") FROM "race" WHERE "time_retired"='+32.256 secs' AND "grid">12;

Question: What is biggest grid when the laps are 65?
SQL: SELECT MAX("grid") FROM "race" WHERE "laps"=65;

Question: What team has a grid of 15?
SQL: SELECT "team" FROM "race" WHERE "grid"=15;