CREATE TABLE table_name_61 (silver INT, gold VARCHAR, total VARCHAR)

What is the highest Silver, when Gold is '8', and when Total is greater than 31?
SELECT MAX(silver) FROM table_name_61 WHERE gold = 8 AND total > 31
SELECT MAX("silver") FROM "table_name_61" WHERE "gold" = 8 AND "total" > 31