Instruct: How many gold medals does the country ranked higher than 2 with more than 8 bronze have?
Output: SELECT SUM Gold FROM table WHERE Rank < 2 AND Bronze > 8