CREATE TABLE table_name_5 (ends VARCHAR, transfer_fee VARCHAR, moving_from VARCHAR)
What is the ends with a free transfer fee and was moved from middlesbrough?
SELECT ends FROM table_name_5 WHERE transfer_fee = "free" AND moving_from = "middlesbrough"