CREATE TABLE table_name_87 (gold NUMBER, silver NUMBER)

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