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_5 (years VARCHAR, ties INTEGER)
  ### Question:
  What years did the person coach who had more than 31 ties?
  ### Answer:
  SELECT years FROM table_name_5 WHERE ties > 31