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 (ties INTEGER, wins VARCHAR, season VARCHAR)
  ### Question:
  What's the average amount of ties had when a team wins 6 and it's past the 2004 season?
  ### Answer:
  SELECT AVG(ties) FROM table_name_55 WHERE wins = 6 AND season > 2004