CREATE TABLE table_6631 ("Name" TEXT, "Country" TEXT, "Type" TEXT, "Moving from" TEXT, "Transfer window" TEXT, "Ends" TEXT, "Transfer fee" TEXT, "Source" TEXT)

What ends has transferred as the type?
SELECT "Ends" FROM table_6631 WHERE "Type" = 'transferred'
SELECT "Ends" FROM "table_6631" WHERE "Type" = 'transferred'