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

Question: Which Laps is the highest one that has a Time/Retired of +3.370 secs?
SQL: SELECT MAX("laps") FROM "race" WHERE "time_retired"='+3.370 secs';

Question: Which Grid has a Team of rusport, and Laps larger than 221?
SQL: SELECT SUM("grid") FROM "race" WHERE "team"='rusport' AND "laps">221;