Context: CREATE TABLE table_name_97 (total INTEGER, bronze VARCHAR, silver VARCHAR, nation VARCHAR)
Question: What was Andorra's total with less than 10 silver and more than 5 bronze?
Answer: SELECT SUM(total) FROM table_name_97 WHERE silver < 10 AND nation = "andorra" AND bronze > 5