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

Question: What was Herdez Competition's total points with a grid larger than 1?
SQL: SELECT COUNT("points") FROM "race" WHERE "team"='herdez competition' AND "grid">1;

Question: What was the highest lap count for Walker Racing with a grid larger than 15?
SQL: SELECT MAX("laps") FROM "race" WHERE "team"='walker racing' AND "grid">15;

Question: Which driver had 248 laps?
SQL: SELECT "driver" FROM "race" WHERE "laps"=248;

Question: What driver had a time/retired of + 10 laps and more than 6 points?
SQL: SELECT "driver" FROM "race" WHERE "time_retired"='+ 10 laps' AND "points">6;