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_49 (lost INTEGER, tied INTEGER)
  ### Question:
  What is the average number of losses when there are more than 0 ties?
  ### Answer:
  SELECT AVG(lost) FROM table_name_49 WHERE tied > 0