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

Question: What is the rank of a country with more than 2 gold, less than 5 silver, and less than 31 total medals?
SQL: SELECT SUM(rank) FROM table_name_67 WHERE gold > 2 AND total < 31 AND silver < 5