What is the average number of losses when there are more than 0 ties?
CREATE TABLE table_name_49 (lost INTEGER, tied INTEGER)
SELECT AVG(lost) FROM table_name_49 WHERE tied > 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (lost INTEGER, tied INTEGER) Question: What is the average number of losses when there are more than 0 ties? [/INST] SELECT AVG(lost) FROM table_name_49 WHERE tied > 0 </s>