CREATE TABLE table_name_17 (gold INT, rank VARCHAR, silver VARCHAR)

When rank is 7 and silver is less than 0, what is the total gold?
SELECT SUM(gold) FROM table_name_17 WHERE rank = "7" AND silver < 0
SELECT SUM("gold") FROM "table_name_17" WHERE "7" = "rank" AND "silver" < 0