CREATE TABLE "all_time_top_10_indoors" (
  "rank" real,
  "result" real,
  "athlete" text,
  "date" text,
  "location" text
);

Question: What Date has a Rank of 2?
SQL: SELECT "date" FROM "all_time_top_10_indoors" WHERE "rank"=2;

Question: What Result has a Location of atlanta, and Rank smaller than 4?
SQL: SELECT AVG("result") FROM "all_time_top_10_indoors" WHERE "location"='atlanta' AND "rank"<4;

Question: What is the smallest Result with a Location of birmingham, and Rank larger than 5?
SQL: SELECT MIN("result") FROM "all_time_top_10_indoors" WHERE "location"='birmingham' AND "rank">5;