Table: maccabiah_2009_medals
Columns: rank
nation
gold
silver
bronze
total

Question: What is the gold medal count for the country with a total greater than 32 and more than 128 silvers?
SQL: SELECT AVG("gold") FROM maccabiah_2009_medals WHERE "total" > 32 AND "silver" > 128

Question: What is the maximum number of silvers for a country with fewer than 12 golds and a total less than 8?
SQL: SELECT MAX("silver") FROM maccabiah_2009_medals WHERE "gold" < 12 AND "total" < 8