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

Question: What is the smallest number of medals a country with more than 14 silver has?
SQL: SELECT MIN("total") FROM "performances_by_nation" WHERE "silver">14;

Question: What is the rank of a country with more than 2 gold, less than 5 silver, and less than 31 total medals?
SQL: SELECT SUM("rank") FROM "performances_by_nation" WHERE "gold">2 AND "total"<31 AND "silver"<5;