CREATE TABLE table_name_89 (category_1 INT, category_3 VARCHAR)

What's the sum of all values in category 1 when category 3 is equal to 300?
SELECT SUM(category_1) FROM table_name_89 WHERE category_3 = "300"
SELECT SUM("category_1") FROM "table_name_89" WHERE "300" = "category_3"