Table: junior_fig_skating_2005
Columns: rank
nation
gold
silver
bronze
total

Question: What is the largest gold with a Total of 2, and a Rank smaller than 2?
SQL: SELECT MAX("gold") FROM junior_fig_skating_2005 WHERE "total" = 2 AND "rank" < 2

Question: What is the lowest total from United States with a Rank smaller than 2?
SQL: SELECT MIN("total") FROM junior_fig_skating_2005 WHERE "nation" = 'united states' AND "rank" < 2

Question: What is the average silver with a Rank smaller than 2 and more than 1 gold?
SQL: SELECT AVG("silver") FROM junior_fig_skating_2005 WHERE "rank" < 2 AND "gold" > 1

Question: What is the smallest rank with a Total smaller than 1?
SQL: SELECT MIN("rank") FROM junior_fig_skating_2005 WHERE "total" < 1