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

Question: When there are more than 12 total medals and less than 5 gold medals, how many bronze medals are there?
SQL: SELECT COUNT("bronze") FROM "medal_table" WHERE "total">12 AND "gold"<5;

Question: When the united states won a total number of medals larger than 25, what was the lowest amount of Bronze medals won?
SQL: SELECT MIN("bronze") FROM "medal_table" WHERE "nation"='united states' AND "total">25;

Question: When the nation of poland had less than 17 medals but more than 1 gold medal, what's the Highest number of bronze medals?
SQL: SELECT MAX("bronze") FROM "medal_table" WHERE "total"<17 AND "nation"='poland' AND "gold">1;

Question: If there are more than 0 Silver medals, less than 5 gold medals, and no bronze medals, what was the total number of medals?
SQL: SELECT COUNT("total") FROM "medal_table" WHERE "silver">0 AND "gold"<5 AND "bronze"<0;