CREATE TABLE table_name_36 (gold INT, rank VARCHAR, total VARCHAR)

What is the sum of golds for ranks of 6 and totals over 3?
SELECT SUM(gold) FROM table_name_36 WHERE rank = "6" AND total > 3
SELECT SUM("gold") FROM "table_name_36" WHERE "6" = "rank" AND "total" > 3