what is the position when the points 1 is less than 36, goals for is less than 40 and drawn is less than 9?
CREATE TABLE table_name_31 (position INTEGER, drawn VARCHAR, points_1 VARCHAR, goals_for VARCHAR)
SELECT SUM(position) FROM table_name_31 WHERE points_1 < 36 AND goals_for < 40 AND drawn < 9
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (position INTEGER, drawn VARCHAR, points_1 VARCHAR, goals_for VARCHAR) Question: what is the position when the points 1 is less than 36, goals for is less than 40 and drawn is less than 9? [/INST] SELECT SUM(position) FROM table_name_31 WHERE points_1 < 36 AND goals_for < 40 AND drawn < 9 </s>