CREATE TABLE table_name_84 (points__pts_ INT, won__pg_ VARCHAR, goals_scored__gf_ VARCHAR)

What is the points for a team with more than 9 wins and more than 40 goals?
SELECT SUM(points__pts_) FROM table_name_84 WHERE won__pg_ > 9 AND goals_scored__gf_ > 40
SELECT SUM("points__pts_") FROM "table_name_84" WHERE "goals_scored__gf_" > 40 AND "won__pg_" > 9