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

Question: Which Bronze has a Gold larger than 1, and a Silver smaller than 3, and a Rank smaller than 5?
SQL: SELECT "bronze" FROM "performances_by_nation" WHERE "gold">1 AND "silver"<3 AND "rank"<5;

Question: Which Rank has a Gold larger than 1, and a Bronze of 4, and a Silver smaller than 1?
SQL: SELECT MAX("rank") FROM "performances_by_nation" WHERE "gold">1 AND "bronze"=4 AND "silver"<1;

Question: Which Rank has a Gold of 3, and a Bronze of 4, and a Total larger than 8?
SQL: SELECT MIN("rank") FROM "performances_by_nation" WHERE "gold"=3 AND "bronze"=4 AND "total">8;

Question: How much Total has a Rank smaller than 10, and a Silver larger than 3, and a Gold larger than 3?
SQL: SELECT SUM("total") FROM "performances_by_nation" WHERE "rank"<10 AND "silver">3 AND "gold">3;

Question: Which Total has a Rank of 9, and a Silver smaller than 2?
SQL: SELECT MAX("total") FROM "performances_by_nation" WHERE "rank"=9 AND "silver"<2;