CREATE TABLE table_name_87 (gold INT, silver INT)

I want the sum of gold for silver being less than 0
SELECT SUM(gold) FROM table_name_87 WHERE silver < 0
SELECT SUM("gold") FROM "table_name_87" WHERE "silver" < 0