Table: south_american_basketball_championships
Columns: rank
gold
silver
bronze
total

Question: What is the total number of gold medals won by nations that won 2 silver medals but fewer than 7 in total?
SQL: SELECT SUM("gold") FROM south_american_basketball_championships WHERE "silver" = 2 AND "total" < 7

Question: What is the total number of medals won by nations that had 7 bronze medals and more than 18 gold medals?
SQL: SELECT SUM("total") FROM south_american_basketball_championships WHERE "bronze" = 7 AND "gold" > 18

Question: What nation with Rank 1 won the fewest gold medals while winning more than 11 silver but fewer than 7 bronze medals?
SQL: SELECT MIN("gold") FROM south_american_basketball_championships WHERE "silver" > 11 AND "rank" = '1' AND "bronze" < 7

Question: What is the highest total medals won by a nation that had 7 bronze but more than 12 silver medals?
SQL: SELECT MAX("total") FROM south_american_basketball_championships WHERE "bronze" = 7 AND "silver" > 12

Question: What nation won the fewest gold medals while being in Rank 1, with a total of 37 medals and more than 7 bronze medals?
SQL: SELECT MIN("gold") FROM south_american_basketball_championships WHERE "total" = 37 AND "rank" = '1' AND "bronze" > 7