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

Question: What is the total rank for the player with less than 2 silvers, 4 golds, and more than 2 bronze?
SQL: SELECT COUNT("rank") FROM "performances_by_nation" WHERE "silver"<2 AND "gold"=4 AND "bronze">2;

Question: What is the sum of rank with more than 1 silver medal, 1 gold medal, and less than 6?
SQL: SELECT SUM("rank") FROM "performances_by_nation" WHERE "silver">1 AND "gold"=1 AND "total"<6;