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

Question: What is the most gold medals that a team ranked higher than 6, have 1 silver medal, and more than 4 total medals have?
SQL: SELECT MAX(gold) FROM table_name_96 WHERE rank < 6 AND silver = 1 AND total > 4