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_98 (ended VARCHAR, loan_club VARCHAR)
  ### Question:
  when was the loan ended when the loan club is spartak moscow?
  ### Answer:
  SELECT ended FROM table_name_98 WHERE loan_club = "spartak moscow"