question: What is the total medals for nation with more than 0 silvers and more than 0 golds?
answer: SELECT AVG(total) FROM table_name_97 WHERE silver > 0 AND gold > 0
context: CREATE TABLE table_name_97 (total INTEGER, silver VARCHAR, gold VARCHAR)