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

Question: What is the maximum rank when there is 0 gold, and the bronze is less than 4, and the silver is greater than 1, and 2 as the total?
SQL: SELECT MAX("rank") FROM "men" WHERE "gold"=0 AND "bronze"<4 AND "total"=2 AND "silver">1;

Question: Rank 14 with a total greater than 1 has what as the average bronze?
SQL: SELECT AVG("bronze") FROM "men" WHERE "rank"=14 AND "total">1;

Question: How many medals under total when silver is less than 2, gold is 3, and bronze is less than 0?
SQL: SELECT SUM("total") FROM "men" WHERE "silver"<2 AND "gold"=3 AND "bronze"<0;

Question: What is the fewest total when silver is 0, and gold is less than 1, and rank is less than 13?
SQL: SELECT MIN("total") FROM "men" WHERE "silver"=0 AND "gold"<1 AND "rank"<13;

Question: What is the total rank where the total is less than 5, and bronze is less than 0?
SQL: SELECT COUNT("rank") FROM "men" WHERE "total"<5 AND "bronze"<0;