Table: aiba_2008_qual
Columns: rank
nation
gold
silver
bronze
total

Question: What is the lowest Bronze with a Nation of egypt (egy) and with a Gold that is smaller than 2?
SQL: SELECT MIN("bronze") FROM aiba_2008_qual WHERE "nation" = 'egypt (egy)' AND "gold" < 2

Question: What is the total number of Silver with a Total that is smaller than 1?
SQL: SELECT COUNT("silver") FROM aiba_2008_qual WHERE "total" < 1

Question: What is the highest Total with a Rank that is smaller than 4 and a Nation of tunisia (tun) with a Gold that is smaller than 2?
SQL: SELECT MAX("total") FROM aiba_2008_qual WHERE "rank" < 4 AND "nation" = 'tunisia (tun)' AND "gold" < 2

Question: What is the average Total with a Nation of ethiopia (eth) and a Rank that is larger than 9?
SQL: SELECT AVG("total") FROM aiba_2008_qual WHERE "nation" = 'ethiopia (eth)' AND "rank" > 9