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

Question: What is the most bronze can be when silver is larger than 2, and the nation is germany, and gold is more than 8?
SQL: SELECT MAX("bronze") FROM "medals_table" WHERE "silver">2 AND "nation"='germany' AND "gold">8;

Question: What is the total number for a total when the nation is netherlands and silver is larger than 0?
SQL: SELECT COUNT("total") FROM "medals_table" WHERE "nation"='netherlands' AND "silver">0;

Question: When the total is larger than 1,and the bronze is less than 3, and silver larger than 2, and a gold larger than 2, what is the nation?
SQL: SELECT "nation" FROM "medals_table" WHERE "total">1 AND "bronze"<3 AND "silver">2 AND "gold">2;

Question: What is the average rank when the bronze is larger than 1, and silver is less than 0?
SQL: SELECT AVG("rank") FROM "medals_table" WHERE "bronze">1 AND "silver"<0;