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

Question: What is the lowest number of Gold the Nation of Italy had when it ranked other than 1, and had more than 0 Silver?
SQL: SELECT MIN("gold") FROM "medal_table" WHERE "rank">1 AND "nation"='italy' AND "silver">0;

Question: How many Golds did the country with a Rank better than 5 and more Bronze than 1 receive?
SQL: SELECT SUM("gold") FROM "medal_table" WHERE "rank"<5 AND "bronze">1;

Question: When the Total is less than 1, how many Bronze medals are won?
SQL: SELECT MIN("bronze") FROM "medal_table" WHERE "total"<1;

Question: When the Total is less than 1, and Bronze is 0, how many Gold medals are there?
SQL: SELECT SUM("gold") FROM "medal_table" WHERE "bronze"=0 AND "total"<1;

Question: What is the Rank of the Nation of Germany when the Total is more than 2?
SQL: SELECT COUNT("rank") FROM "medal_table" WHERE "nation"='germany' AND "total">2;