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

Question: Which Bronze is the highest one that has a Rank larger than 1, and a Nation of dominican republic, and a Total larger than 4?
SQL: SELECT MAX("bronze") FROM "medal_table" WHERE "rank">1 AND "nation"='dominican republic' AND "total">4;

Question: Which Total is the lowest one that has a Rank smaller than 1?
SQL: SELECT MIN("total") FROM "medal_table" WHERE "rank"<1;

Question: Which Total is the lowest one that has a Rank smaller than 2, and a Silver smaller than 15?
SQL: SELECT MIN("total") FROM "medal_table" WHERE "rank"<2 AND "silver"<15;

Question: Which Silver has a Gold of 2, and a Nation of puerto rico, and a Total smaller than 12?
SQL: SELECT SUM("silver") FROM "medal_table" WHERE "gold"=2 AND "nation"='puerto rico' AND "total"<12;