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

Question: What is the total number of gold medals of the ranked 2nd nation, which has less than 2 silvers?
SQL: SELECT COUNT("gold") FROM "medal_table" WHERE "rank"='2' AND "silver"<2;

Question: What is the total number of gold medals of the nation with 0 silver and more than 1 bronze?
SQL: SELECT COUNT("gold") FROM "medal_table" WHERE "silver"=0 AND "bronze">1;

Question: What is the lowest number of bronze of the nation with more than 13 total medals, more than 10 gold medals, and less than 22 silvers?
SQL: SELECT MIN("bronze") FROM "medal_table" WHERE "total">13 AND "gold">10 AND "silver"<22;