CREATE TABLE table_name_12 (transfer_window VARCHAR2, moving_to VARCHAR2)

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"