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

Question: How many Total medals for the team with a Rank of 8, 1 Bronze and more than 1 Silver?
SQL: SELECT MIN("total") FROM "medal_table" WHERE "bronze"=1 AND "rank"='8' AND "silver">1;

Question: How many Gold does the Nation in Rank 12 with less than 2 Total medals have?
SQL: SELECT MAX("gold") FROM "medal_table" WHERE "rank"='12' AND "total"<2;