user: ### NOW ANSWER:
Question: What is the average gold with a bronze smaller than 5 with a rank of 8?
Columns: ['Rank', 'Nation', 'Gold', 'Silver', 'Bronze', 'Total']
Types: ['text', 'text', 'real', 'real', 'real', 'real']
Sample row: ['1', 'Thailand', 17.0, 19.0, 9.0, 45.0]
SQL:

assistant: SELECT AVG("Gold") FROM "Table" WHERE "Bronze" < 5.0 AND "Rank" = '8';