user: ### NOW ANSWER:
Question: what is the total when the rank is 7 and gold is more than 0?
Columns: ['Rank', 'Nation', 'Gold', 'Silver', 'Bronze', 'Total']
Types: ['text', 'text', 'real', 'real', 'real', 'real']
Sample row: ['1', 'Soviet Union', 5.0, 1.0, 1.0, 7.0]
SQL:

assistant: SELECT AVG("Total") FROM "Table" WHERE "Rank" = '7' AND "Gold" > 0.0;