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