CREATE TABLE "all_time_medal_tables" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);

Question: What is the lowest total when the rank is 14 and the gold medals is larger than 0?
SQL: SELECT MIN("total") FROM "all_time_medal_tables" WHERE "rank"='14' AND "gold">0;

Question: What is the total number of medals when there are 18 gold medals?
SQL: SELECT SUM("total") FROM "all_time_medal_tables" WHERE "gold"=18;

Question: What is the number of bronze medals when the total is greater than 1, more than 2 silver medals are won, and the rank is 2?
SQL: SELECT "bronze" FROM "all_time_medal_tables" WHERE "total">1 AND "silver">2 AND "rank"='2';