user: Question: What was the average rank for the team that had more than 5 medals and more than 6 gold medals?
Columns: ['Rank', 'Nation', 'Gold', 'Silver', 'Bronze', 'Total']
Types: ['real', 'text', 'real', 'real', 'real', 'real']
Sample row: [1.0, 'Brazil', 6.0, 2.0, 3.0, 11.0]
SQL:

assistant: SELECT AVG("Rank") FROM "Table" WHERE "Total" > 5.0 AND "Gold" > 6.0;