CREATE TABLE table_name_12 (transfer_window VARCHAR, moving_to VARCHAR)

Name the transfer window of realmadrid
SELECT transfer_window FROM table_name_12 WHERE moving_to = "realmadrid"
SELECT "transfer_window" FROM "table_name_12" WHERE "moving_to" = "realmadrid"