Schema: CREATE TABLE table_name_89 (total INTEGER, bronze VARCHAR, gold VARCHAR)
Question: What's the smallest total with a bronze count of 5 and a gold count less than 8?
SQL: SELECT MIN(total) FROM table_name_89 WHERE bronze = 5 AND gold < 8