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_78 (date_to VARCHAR, name VARCHAR)
  ### Question:
  When was james chester loaned out until ?
  ### Answer:
  SELECT date_to FROM table_name_78 WHERE name = "james chester"