What is the highest wins entry with fewer than 51 goals, more than 39 points, and a goal difference smaller than 13?
CREATE TABLE table_name_74 (wins INTEGER, goal_difference VARCHAR, goals_against VARCHAR, points VARCHAR)
SELECT MAX(wins) FROM table_name_74 WHERE goals_against < 51 AND points > 39 AND goal_difference < 13
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (wins INTEGER, goal_difference VARCHAR, goals_against VARCHAR, points VARCHAR) Question: What is the highest wins entry with fewer than 51 goals, more than 39 points, and a goal difference smaller than 13? [/INST] SELECT MAX(wins) FROM table_name_74 WHERE goals_against < 51 AND points > 39 AND goal_difference < 13 </s>