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

Question: What is the smallest number of gold of a country of rank 6, with 2 bronzes?
SQL: SELECT MIN("gold") FROM "medal_table" WHERE "bronze"=2 AND "rank"=6 AND "total">2;

Question: What is the rank of the country with more than 2 medals, and 2 gold medals?
SQL: SELECT "rank" FROM "medal_table" WHERE "total">2 AND "gold"=2;

Question: How many total medals does a country with more than 1 silver medals have?
SQL: SELECT SUM("total") FROM "medal_table" WHERE "silver">1;