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

Question: What is the sum of bronze when silver is greater than 3?
SQL: SELECT SUM("bronze") FROM "medals_table" WHERE "silver">3;

Question: What is the average total when gold is 0, bronze is 0, and silver is smaller than 1?
SQL: SELECT AVG("total") FROM "medals_table" WHERE "gold"=0 AND "bronze"=0 AND "silver"<1;