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

Question: What is the number of silver when bronze is 0, and rank is less than 2?
SQL: SELECT SUM("silver") FROM "medal_table" WHERE "bronze"=0 AND "rank"<2;

Question: What is the silver when the Total is 1, and Gold is 1?
SQL: SELECT AVG("silver") FROM "medal_table" WHERE "total"=1 AND "gold"=1;

Question: What is the number of silver when the total is less than 1?
SQL: SELECT COUNT("silver") FROM "medal_table" WHERE "total"<1;

Question: What is the largest silver number when the rank is smaller than 1?
SQL: SELECT MAX("silver") FROM "medal_table" WHERE "rank"<1;

Question: What is the number of bronze when the total is smaller than 1?
SQL: SELECT AVG("bronze") FROM "medal_table" WHERE "total"<1;

Question: What is the highest number of bronze when silver is larger than 0, rank is larger than 3?
SQL: SELECT MAX("bronze") FROM "medal_table" WHERE "silver">0 AND "rank">3;