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 (ends VARCHAR, transfer_fee VARCHAR, moving_from VARCHAR)
  ### Question:
  What is the ends with a free transfer fee and was moved from middlesbrough?
  ### Answer:
  SELECT ends FROM table_name_5 WHERE transfer_fee = "free" AND moving_from = "middlesbrough"