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

Question: Which Total has a Nation of japan, and a Silver larger than 2?
SQL: SELECT MIN("total") FROM "medal_table" WHERE "nation"='japan' AND "silver">2;

Question: Which Nation has a Gold larger than 0, and a Total larger than 4, and a Rank of 6?
SQL: SELECT "nation" FROM "medal_table" WHERE "gold">0 AND "total">4 AND "rank"='6';

Question: Which Silver has a Rank of 1, and a Total smaller than 11?
SQL: SELECT SUM("silver") FROM "medal_table" WHERE "rank"='1' AND "total"<11;

Question: Which Total has a Nation of united states, and a Bronze larger than 3?
SQL: SELECT MAX("total") FROM "medal_table" WHERE "nation"='united states' AND "bronze">3;