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

Question: How many silver medals were there with 2 gold medals and more than 2 bronze medals?
SQL: SELECT "silver" FROM "all_time_medal_tables" WHERE "gold"=2 AND "bronze">2;

Question: What is the smallest total number of medals for rank 11 and more than 0 silver medals?
SQL: SELECT MIN("total") FROM "all_time_medal_tables" WHERE "rank"='11' AND "silver">0;

Question: What is the sum of all total medals with more than 2 bronze medals and more than 1 gold medal for the United States?
SQL: SELECT SUM("total") FROM "all_time_medal_tables" WHERE "bronze">2 AND "nation"='united states' AND "gold">1;

Question: What is the largest number of gold medals for Canada with more than 7 bronze medals?
SQL: SELECT MAX("gold") FROM "all_time_medal_tables" WHERE "nation"='canada' AND "bronze">7;

Question: What is the sum of all silver medals with less than 23 medals in total and more than 3 bronze medals for the United States?
SQL: SELECT SUM("silver") FROM "all_time_medal_tables" WHERE "total"<23 AND "nation"='united states' AND "bronze">3;