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

Question: Which Gold is the lowest one that has a Bronze of 14, and a Total larger than 42?
SQL: SELECT MIN("gold") FROM "medal_table" WHERE "bronze"=14 AND "total">42;

Question: Which Bronze is the lowest one that has a Nation of total, and a Gold smaller than 14?
SQL: SELECT MIN("bronze") FROM "medal_table" WHERE "nation"='total' AND "gold"<14;

Question: How much Total has a Nation of kazakhstan (kaz), and a Gold larger than 0?
SQL: SELECT COUNT("total") FROM "medal_table" WHERE "nation"='kazakhstan (kaz)' AND "gold">0;

Question: Which Total is the highest one that has a Rank of 1, and a Gold larger than 11?
SQL: SELECT MAX("total") FROM "medal_table" WHERE "rank"='1' AND "gold">11;