CREATE TABLE "sprint_race" (
  "team" text,
  "driver" text,
  "laps" real,
  "time" text,
  "grid" real
);

Question: What is the average Laps that shows spun off for time?
SQL: SELECT AVG("laps") FROM "sprint_race" WHERE "time"='spun off';

Question: What is the average Laps for the Mexico team with a grid number of more than 1?
SQL: SELECT AVG("laps") FROM "sprint_race" WHERE "grid">1 AND "team"='mexico';

Question: What is name of the drive with a Time of +13.315?
SQL: SELECT "driver" FROM "sprint_race" WHERE "time"='+13.315';

Question: What is the total grid number that has 14 laps and a time of +29.483?
SQL: SELECT COUNT("grid") FROM "sprint_race" WHERE "laps"=14 AND "time"='+29.483';

Question: What is the total number of Laps when collision shows for time for Switzerland and less than 11 for grid?
SQL: SELECT COUNT("laps") FROM "sprint_race" WHERE "time"='collision' AND "team"='switzerland' AND "grid"<11;