Table: olympic_art_medals
Columns: rank
nation
gold
silver
bronze
total

Question: What's the rank average when the gold medals are less than 0?
SQL: SELECT AVG("rank") FROM olympic_art_medals WHERE "gold" < 0

Question: What is the total rank of Hungary (HUN) when the bronze medals were less than 0?
SQL: SELECT SUM("rank") FROM olympic_art_medals WHERE "nation" = 'hungary (hun)' AND "bronze" < 0

Question: What is the sum of the total number of medals when silver is less than 0?
SQL: SELECT COUNT("total") FROM olympic_art_medals WHERE "silver" < 0