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

Question: How many laps were there when the start was 12?
SQL: SELECT COUNT("laps") FROM "indy_500_results" WHERE "start"='12';

Question: What was the qual when the rank was 2?
SQL: SELECT "qual" FROM "indy_500_results" WHERE "rank"='2';