CREATE TABLE table_name_23 (total INT, nation VARCHAR, silver VARCHAR, gold VARCHAR)

What is the average total when the silver is larger than 2, and a gold larger than 1, and a nation of total?
SELECT AVG(total) FROM table_name_23 WHERE silver > 2 AND gold > 1 AND nation = total
SELECT AVG("total") FROM "table_name_23" WHERE "gold" > 1 AND "nation" = "total" AND "silver" > 2