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

Question: how many times is the nation listed as united states with the total more than 1?
SQL: SELECT COUNT("silver") FROM "medal_table" WHERE "nation"='united states' AND "total">1;

Question: what is the lowest total when the rank is less than 2 and bronze is more than 0?
SQL: SELECT MIN("total") FROM "medal_table" WHERE "rank"<2 AND "bronze">0;

Question: what is the nation with a total of 1, bronze smaller than 1 and a rank of 3?
SQL: SELECT "nation" FROM "medal_table" WHERE "total"=1 AND "bronze"<1 AND "rank"=3;

Question: what is the rank when silver is less than 0?
SQL: SELECT SUM("rank") FROM "medal_table" WHERE "silver"<0;

Question: what is the amount of silver when gold is 2 and the rank is more than 1?
SQL: SELECT AVG("silver") FROM "medal_table" WHERE "gold"=2 AND "rank">1;