CREATE TABLE "indy_500_results" (
  "start" text,
  "qual" text,
  "rank" text,
  "finish" text,
  "laps" real
);

Question: What is the sum of all laps with rank 3?
SQL: SELECT COUNT("laps") FROM "indy_500_results" WHERE "rank"='3';

Question: What is the sum of all laps starting at 10 and finishing at 20?
SQL: SELECT SUM("laps") FROM "indy_500_results" WHERE "start"='10' AND "finish"='20';

Question: What's the rank when the start is 10 and the laps are fewer than 192?
SQL: SELECT "rank" FROM "indy_500_results" WHERE "start"='10' AND "laps"<192;

Question: What's the rank when the laps are fewer than 137 and the qual is 116.470?
SQL: SELECT "rank" FROM "indy_500_results" WHERE "laps"<137 AND "qual"='116.470';