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

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'