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

Question: What is the number of silver when bronze is less than 0?
SQL: SELECT COUNT("silver") FROM "performances_by_nation" WHERE "bronze"<0;

Question: What is the gold when silver is less than 1, rank is 12, and total is less than 3?
SQL: SELECT MAX("gold") FROM "performances_by_nation" WHERE "silver"<1 AND "rank"=12 AND "total"<3;

Question: What shows for gold when the rank is less than 3, and silver less than 1?
SQL: SELECT SUM("gold") FROM "performances_by_nation" WHERE "rank"<3 AND "silver"<1;

Question: What is the total when gold is 1, and rank is more than 4, and bronze is 0?
SQL: SELECT COUNT("total") FROM "performances_by_nation" WHERE "gold"=1 AND "rank">4 AND "bronze"=0;

Question: What shows for bronze when silver is 1, rank is smaller than 4, and gold is larger than 1?
SQL: SELECT SUM("bronze") FROM "performances_by_nation" WHERE "silver"=1 AND "rank"<4 AND "gold">1;

Question: What is the gold when silver is 1, rank is larger than 3, total is smaller than 2, bronze is smaller than 0?
SQL: SELECT SUM("gold") FROM "performances_by_nation" WHERE "silver"=1 AND "rank">3 AND "total"<2 AND "bronze"<0;