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

Question: What is the total with a rank less than 5, gold larger than 5 and bronze larger than 8?
SQL: SELECT SUM(total) FROM table_name_89 WHERE rank < 5 AND gold > 5 AND bronze > 8