user: ### NOW ANSWER:
Question: What is the average Gold, when Silver is less than 107, when Bronze is greater than 42, and when Rank is 3?
Columns: ['Rank', 'Gold', 'Silver', 'Bronze', 'Total']
Types: ['text', 'real', 'real', 'real', 'real']
Sample row: ['1', 120.0, 107.0, 61.0, 288.0]
SQL:

assistant: SELECT AVG("Gold") FROM "Table" WHERE "Silver" < 107.0 AND "Bronze" > 42.0 AND "Rank" = '3';