Table: junior_curling_champs
Columns: rank
nation
gold
silver
bronze
total

Question: What is the lowest total when the rank is 14 and the gold medals is larger than 0?
SQL: SELECT MIN("total") FROM junior_curling_champs WHERE "rank" = '14' AND "gold" > 0

Question: What is the total number of medals when there are 18 gold medals?
SQL: SELECT SUM("total") FROM junior_curling_champs WHERE "gold" = 18

Question: What is the number of bronze medals when the total is greater than 1, more than 2 silver medals are won, and the rank is 2?
SQL: SELECT "bronze" FROM junior_curling_champs WHERE "total" > 1 AND "silver" > 2 AND "rank" = '2'