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

Question: How many Total(s) are there, when the number of Bronze is greater than 13, when the Rank is 8, and when the number of Silver is less than 11?
SQL: SELECT COUNT("total") FROM "medal_count" WHERE "bronze">13 AND "rank"='8' AND "silver"<11;

Question: What is the Nation, when the number of Bronze is less than 17, and when the number of Gold is less than 16?
SQL: SELECT "nation" FROM "medal_count" WHERE "bronze"<17 AND "gold"<16;

Question: What is the highest number of Silver, when the Nation is Japan (JPN), and when the Total is greater than 37?
SQL: SELECT MAX("silver") FROM "medal_count" WHERE "nation"='japan (jpn)' AND "total">37;

Question: What is the lowest number of Gold, when the number of Bronze is less than 36, when the Rank is 2, and when Silver is less than 37?
SQL: SELECT MIN("gold") FROM "medal_count" WHERE "bronze"<36 AND "rank"='2' AND "silver"<37;