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

Question: What is the average number of bronze medals for total of all nations?
SQL: SELECT AVG("bronze") FROM "medal_table" WHERE "nation"='total';

Question: What is the sum of gold medals for a rank of 14?
SQL: SELECT SUM("gold") FROM "medal_table" WHERE "rank"='14';

Question: Which rank has 1 silver medal and more than 1 gold medal?
SQL: SELECT "rank" FROM "medal_table" WHERE "silver"=1 AND "gold">1;