What were the total number of points when the amount of goals scored was less than 20?
CREATE TABLE table_name_39 (points VARCHAR, goals_scored INTEGER)
SELECT COUNT(points) FROM table_name_39 WHERE goals_scored < 20
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (points VARCHAR, goals_scored INTEGER) Question: What were the total number of points when the amount of goals scored was less than 20? [/INST] SELECT COUNT(points) FROM table_name_39 WHERE goals_scored < 20 </s>