MERGE INTO Example - SQL Server

MERGE INTO SecurityQuestion AS Target 
USING (VALUES 
       (1, N'What is your mother''s maiden name?'),
       (2, N'What is the name of the street you grew up on?'),
       (3, N'What is the name of your first pet?'),
       (4, N'What was your favorite food when you were a kid?'),
       (5, N'What is the name of your favorite drink?'),
       (6, N'What was the name of your first love?'),
       (7, N'What did you score on the SAT?')
) 
AS Source ([SecurityQuestionId], [Text]) 
ON Target.[SecurityQuestionId] = Source.[SecurityQuestionId] 
WHEN MATCHED THEN 
UPDATE SET [Text] = Source.[Text] 
WHEN NOT MATCHED BY TARGET THEN 
INSERT ([SecurityQuestionId], [Text]) 
VALUES ([SecurityQuestionId], [Text]) 
WHEN NOT MATCHED BY SOURCE THEN 
DELETE;