text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  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?
  ### Answer:
  SELECT AVG(match) FROM table_name_55 WHERE lost > 0 AND points > 6 AND team = "legia warszawa" AND draw < 0