Instruct: When is the Competition of friendly match with a Result of 2–1?
Output: SELECT Date FROM table WHERE Competition = friendly match AND Result = 2–1