What is the greatest number of losses when the against is 1465 and there are more than 7 wins?
CREATE TABLE table_name_80 (losses INTEGER, against VARCHAR, wins VARCHAR)
SELECT MAX(losses) FROM table_name_80 WHERE against = 1465 AND wins > 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (losses INTEGER, against VARCHAR, wins VARCHAR) Question: What is the greatest number of losses when the against is 1465 and there are more than 7 wins? [/INST] SELECT MAX(losses) FROM table_name_80 WHERE against = 1465 AND wins > 7 </s>