What is the points for a team with more than 9 wins and more than 40 goals?
CREATE TABLE table_name_84 (points__pts_ INTEGER, won__pg_ VARCHAR, goals_scored__gf_ VARCHAR)
SELECT SUM(points__pts_) FROM table_name_84 WHERE won__pg_ > 9 AND goals_scored__gf_ > 40
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (points__pts_ INTEGER, won__pg_ VARCHAR, goals_scored__gf_ VARCHAR) Question: What is the points for a team with more than 9 wins and more than 40 goals? [/INST] SELECT SUM(points__pts_) FROM table_name_84 WHERE won__pg_ > 9 AND goals_scored__gf_ > 40 </s>