CREATE TABLE table_51862 ("Name" TEXT, "Country" TEXT, "Status" TEXT, "Moving to" TEXT, "Transfer window" TEXT, "Transfer fee" TEXT)

Name the transfer window of realmadrid
SELECT "Transfer window" FROM table_51862 WHERE "Moving to" = 'realmadrid'
SELECT "Transfer window" FROM "table_51862" WHERE "Moving to" = 'realmadrid'