Table: fencing_1954
Columns: rank
nation
gold
silver
bronze
total

Question: What's the largest number of Gold medals won when bronze won are 2 and total won are over 7 by Hungary?
SQL: SELECT MAX("gold") FROM fencing_1954 WHERE "bronze" = 2 AND "nation" = 'hungary' AND "total" > 7

Question: What's the average amount of Gold medals won when there were more than 1 silver medal won and less than 2 bronze medals won.
SQL: SELECT AVG("gold") FROM fencing_1954 WHERE "silver" > 1 AND "bronze" < 2