Table: gymnastics_1980_summers
Columns: rank
nation
gold
silver
bronze
total

Question: Rank of 5, and a Silver larger than 0 had what sum of total?
SQL: SELECT SUM("total") FROM gymnastics_1980_summers WHERE "rank" = '5' AND "silver" > 0

Question: Gold smaller than 2, and a Rank of 4, and a Nation of hungary (hun), and a Bronze smaller than 1 had what total number of silver?
SQL: SELECT COUNT("silver") FROM gymnastics_1980_summers WHERE "gold" < 2 AND "rank" = '4' AND "nation" = 'hungary (hun)' AND "bronze" < 1

Question: Total smaller than 7, and a Bronze larger than 1 is what amount of average silver?
SQL: SELECT AVG("silver") FROM gymnastics_1980_summers WHERE "total" < 7 AND "bronze" > 1

Question: Bronze smaller than 5, and a Silver larger than 0 is which nation?
SQL: SELECT "nation" FROM gymnastics_1980_summers WHERE "bronze" < 5 AND "silver" > 0