What is the highest number played when there were less than 13 losses and a goal difference of +46?
CREATE TABLE table_name_89 (played INTEGER, lost VARCHAR, goal_difference VARCHAR)
SELECT MAX(played) FROM table_name_89 WHERE lost < 13 AND goal_difference = "+46"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (played INTEGER, lost VARCHAR, goal_difference VARCHAR) Question: What is the highest number played when there were less than 13 losses and a goal difference of +46? [/INST] SELECT MAX(played) FROM table_name_89 WHERE lost < 13 AND goal_difference = "+46" </s>