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

Question: What is the total number of Silver medals for the Nation with less than 1 Bronze?
SQL: SELECT COUNT("silver") FROM "medals_table" WHERE "bronze"<1;

Question: What is the total number of Gold medals for the Nation with more than 1 Bronze and more the 4 Total medals?
SQL: SELECT COUNT("gold") FROM "medals_table" WHERE "bronze">1 AND "total">4;

Question: What is the total number of Gold medals for the Nation with more than 3 Bronze?
SQL: SELECT COUNT("gold") FROM "medals_table" WHERE "bronze">3;

Question: How many Gold medals did Great Britain with a Total of more than 2 medals receive?
SQL: SELECT MIN("gold") FROM "medals_table" WHERE "nation"='great britain' AND "total">2;

Question: How many Silver medals did the Nation with a Rank of less than 1 receive?
SQL: SELECT AVG("silver") FROM "medals_table" WHERE "rank"<1;