CREATE TABLE table_name_97 (total INTEGER, silver VARCHAR(255), gold VARCHAR(255))
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