user: ### NOW ANSWER:
Question: What is the rank with a higher than 2 total, 21 gold and more than 12 bronze?
Columns: ['Rank', 'Nation', 'Gold', 'Silver', 'Bronze', 'Total']
Types: ['real', 'text', 'real', 'real', 'real', 'real']
Sample row: [1.0, 'Brazil', 21.0, 9.0, 12.0, 42.0]
SQL:

assistant: SELECT AVG("Rank") FROM "Table" WHERE "Total" > 2.0 AND "Gold" = 21.0 AND "Bronze" > 12.0;