Table: olympic_medals
Columns: rank
nation
gold
silver
bronze
total

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 olympic_medals 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 olympic_medals 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 olympic_medals 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 olympic_medals 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 olympic_medals WHERE "nation" = 'germany' AND "total" > 2