CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);

Question: What is the total number of bronze medals of the nation with 4 total medals and 1 silver?
SQL: SELECT COUNT("bronze") FROM "medal_table" WHERE "total"=4 AND "silver"=1;

Question: What is the sum of silver medals of the nation Cuba, which has less than 0 gold?
SQL: SELECT SUM("silver") FROM "medal_table" WHERE "nation"='cuba' AND "gold"<0;