Table schema:
CREATE TABLE table_name_74 (total INTEGER, rank VARCHAR, gold VARCHAR)

Question: What is the sum of Total ranking 9 and a Gold more than 6
SQL: SELECT SUM(total) FROM table_name_74 WHERE rank = "9" AND gold > 6