Table: athletics_1987_pan_am
Columns: rank
nation
gold
silver
bronze
total

Question: What is the lowest number of bronze medals for teams ranked below 13?
SQL: SELECT MIN("bronze") FROM athletics_1987_pan_am WHERE "rank" > 13

Question: How many golds for teams ranking below 7 with 3 bronze and less than 5 total medals?
SQL: SELECT COUNT("gold") FROM athletics_1987_pan_am WHERE "bronze" = 3 AND "rank" > 7 AND "total" < 5