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

Question: what is the silver when the nation is japan and the total is less than 1?
SQL: SELECT SUM("silver") FROM "medal_table" WHERE "nation"='japan' AND "total"<1;

Question: what is the bronze when silver is 1, gold is 0 the rank is 11 and the total is more than 1?
SQL: SELECT MAX("bronze") FROM "medal_table" WHERE "silver"=1 AND "gold"=0 AND "rank"='11' AND "total">1;

Question: what is the rank when silver is 0, bronze is more than 1 and the total is more than 3?
SQL: SELECT "rank" FROM "medal_table" WHERE "silver"=0 AND "bronze">1 AND "total">3;

Question: what is the silver for mexico?
SQL: SELECT "silver" FROM "medal_table" WHERE "nation"='mexico';