Table: olympic_medals_1972
Columns: rank
republic
gold
silver
bronze
total

Question: What is the total number of bronzes associated with 1 silver, ranks under 6 and under 6 golds?
SQL: SELECT SUM("bronze") FROM olympic_medals_1972 WHERE "silver" = 1 AND "rank" < 6 AND "gold" < 6

Question: What is the highest number of bronzes for teams ranked number 7 with more than 0 silver?
SQL: SELECT MAX("bronze") FROM olympic_medals_1972 WHERE "silver" > 0 AND "rank" = 7

Question: What is the average total for teams with more than 1 gold, ranked over 3 and more than 3 bronze?
SQL: SELECT AVG("total") FROM olympic_medals_1972 WHERE "gold" > 1 AND "rank" > 3 AND "bronze" > 3

Question: What is the sum of bronzes for teams with more than 2 gold, ranked under 3, and less than 22 silver?
SQL: SELECT SUM("bronze") FROM olympic_medals_1972 WHERE "gold" > 2 AND "rank" < 3 AND "silver" < 22

Question: What is the sum of silvers for teams with ranks over 3 and totals under 2?
SQL: SELECT SUM("silver") FROM olympic_medals_1972 WHERE "rank" > 3 AND "total" < 2