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

Question: What was the sum of the ranks for Japan who had less than 5 bronze medals and more than 3 silvers?
SQL: SELECT SUM("rank") FROM "medal_table" WHERE "bronze"<5 AND "country"='japan' AND "silver">3;

Question: What is the lowest total medals for the united states who had more than 11 silver medals?
SQL: SELECT MIN("total") FROM "medal_table" WHERE "country"='united states' AND "silver">11;

Question: What is the sum of the bronze medals when there were more than 2 silver medals and a rank larger than 6?
SQL: SELECT SUM("bronze") FROM "medal_table" WHERE "silver">2 AND "rank">6;