Instruct: What is the rank with a higher than 2 total, 21 gold and more than 12 bronze?
Output: SELECT AVG Rank FROM table WHERE Total > 2 AND Gold = 21 AND Bronze > 12