CREATE TABLE table_name_46 (total INT, rank VARCHAR)

What is the sum of Total when rank is 2?
SELECT SUM(total) FROM table_name_46 WHERE rank = "2"
SELECT SUM("total") FROM "table_name_46" WHERE "2" = "rank"