What is the highest draws that have 31 for points, wins greater than 12, with a goal difference less than 11?
CREATE TABLE table_name_8 (draws INTEGER, goal_difference VARCHAR, points VARCHAR, wins VARCHAR)
SELECT MAX(draws) FROM table_name_8 WHERE points = 31 AND wins > 12 AND goal_difference < 11
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (draws INTEGER, goal_difference VARCHAR, points VARCHAR, wins VARCHAR) Question: What is the highest draws that have 31 for points, wins greater than 12, with a goal difference less than 11? [/INST] SELECT MAX(draws) FROM table_name_8 WHERE points = 31 AND wins > 12 AND goal_difference < 11 </s>