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

Question: What is the largest laps for Time/Retired of + 2 laps, and a Grid of 13?
SQL: SELECT MAX("laps") FROM "race" WHERE "time_retired"='+ 2 laps' AND "grid"=13;

Question: What company constructed the car with more than 0 laps and shows 5 for grid?
SQL: SELECT "constructor" FROM "race" WHERE "laps">0 AND "grid"=5;

Question: What is the sum of laps for Derek Warwick?
SQL: SELECT SUM("laps") FROM "race" WHERE "driver"='derek warwick';