user: ### NOW ANSWER:
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?
Columns: ['Rank', 'Nation', 'Gold', 'Silver', 'Bronze', 'Total']
Types: ['text', 'text', 'real', 'real', 'real', 'real']
Sample row: ['1', 'China', 8.0, 0.0, 0.0, 8.0]
SQL:

assistant: SELECT AVG("Gold") FROM "Table" WHERE "Total" < 4.0 AND "Nation" = 'brazil' AND "Bronze" > 1.0;