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

Question: What is the qual when there are 125 laps?
SQL: SELECT "qual" FROM "indy_500_results" WHERE "laps"=125;

Question: What is the rank when there are more than 107 laps and the qual is 137.825?
SQL: SELECT "rank" FROM "indy_500_results" WHERE "laps">107 AND "qual"='137.825';

Question: What is the rank with more than 40 laps and a 23 finish?
SQL: SELECT "rank" FROM "indy_500_results" WHERE "laps">40 AND "finish"='23';

Question: What is the finish in 1953?
SQL: SELECT "finish" FROM "indy_500_results" WHERE "year"='1953';

Question: In what year was the rank 24?
SQL: SELECT "year" FROM "indy_500_results" WHERE "rank"='24';