CREATE TABLE table_name_47 (date VARCHAR(255), competition VARCHAR(255), result VARCHAR(255))
When is the Competition of friendly match with a Result of 2–1?
    
SQL: SELECT date FROM table_name_47 WHERE competition = "friendly match" AND result = "2–1"