Which average match has a lost greater than 0, points greater than 6, legia warszawa as the team, and a draw less than 0?
CREATE TABLE table_name_55 (match INTEGER, draw VARCHAR, team VARCHAR, lost VARCHAR, points VARCHAR)
SELECT AVG(match) FROM table_name_55 WHERE lost > 0 AND points > 6 AND team = "legia warszawa" AND draw < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (match INTEGER, draw VARCHAR, team VARCHAR, lost VARCHAR, points VARCHAR) Question: Which average match has a lost greater than 0, points greater than 6, legia warszawa as the team, and a draw less than 0? [/INST] SELECT AVG(match) FROM table_name_55 WHERE lost > 0 AND points > 6 AND team = "legia warszawa" AND draw < 0 </s>