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