CREATE TABLE table_name_11 (total INT, silver VARCHAR, rank VARCHAR, gold VARCHAR)

What is the sum of all totals with a rank greater than 6, gold greater than 0, and silver greater than 2?
SELECT SUM(total) FROM table_name_11 WHERE rank > 6 AND gold > 0 AND silver = 2
SELECT SUM("total") FROM "table_name_11" WHERE "gold" > 0 AND "rank" > 6 AND "silver" = 2