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

Question: How many total show when silver is 0, bronze is 1, and the rank is less than 3?
SQL: SELECT COUNT("total") FROM "winners_by_country" WHERE "silver"=0 AND "bronze"=1 AND "rank"<3;

Question: What is the number for rank when gold is less than 0?
SQL: SELECT SUM("rank") FROM "winners_by_country" WHERE "gold"<0;

Question: What is the average for silver when bronze is less than 1, and gold is more than 0?
SQL: SELECT AVG("silver") FROM "winners_by_country" WHERE "bronze"<1 AND "gold">0;

Question: What is the average Gold when the rank is less than 3 and the bronze is less than 1?
SQL: SELECT AVG("gold") FROM "winners_by_country" WHERE "rank"<3 AND "bronze"<1;

Question: What is the average Rank when there are 2 bronze, the total is 2 and gold is less than 0?
SQL: SELECT AVG("rank") FROM "winners_by_country" WHERE "bronze"=2 AND "total"=2 AND "gold"<0;