Name the average losses for draws larger than 6 and played more than 38
CREATE TABLE table_name_58 (losses INTEGER, draws VARCHAR, played VARCHAR)
SELECT AVG(losses) FROM table_name_58 WHERE draws > 6 AND played > 38
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (losses INTEGER, draws VARCHAR, played VARCHAR) Question: Name the average losses for draws larger than 6 and played more than 38 [/INST] SELECT AVG(losses) FROM table_name_58 WHERE draws > 6 AND played > 38 </s>