Table schema:
CREATE TABLE table_name_56 (gold INTEGER, rank VARCHAR, bronze VARCHAR)

Question: How many gold medals does the country ranked higher than 2 with more than 8 bronze have?
SQL: SELECT SUM(gold) FROM table_name_56 WHERE rank < 2 AND bronze > 8