Tell me the total number of positions with goal difference more than -17 and played less than 38
CREATE TABLE table_name_12 (position VARCHAR, goal_difference VARCHAR, played VARCHAR)
SELECT COUNT(position) FROM table_name_12 WHERE goal_difference > -17 AND played < 38
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (position VARCHAR, goal_difference VARCHAR, played VARCHAR) Question: Tell me the total number of positions with goal difference more than -17 and played less than 38 [/INST] SELECT COUNT(position) FROM table_name_12 WHERE goal_difference > -17 AND played < 38 </s>