Context: CREATE TABLE table_name_99 (rank INTEGER, gold VARCHAR, total VARCHAR)
Question: What is the total of rank when gold is 2 and total is more than 4?
Answer: SELECT SUM(rank) FROM table_name_99 WHERE gold = 2 AND total > 4