question: What is the average number of gold medals won by Brazil for entries with more than 1 bronze medal but a total smaller than 4?
answer: SELECT AVG(gold) FROM table_name_19 WHERE total < 4 AND nation = "brazil" AND bronze > 1
context: CREATE TABLE table_name_19 (gold INTEGER, bronze VARCHAR, total VARCHAR, nation VARCHAR)