CREATE TABLE table_name_56 (gold INT, rank VARCHAR, bronze VARCHAR)

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