What does the MERGE statement’s WHEN NOT MATCHED clause handle?

SQL Fundamentals Hard

SQL Fundamentals — Hard

What does the MERGE statement’s WHEN NOT MATCHED clause handle?

Key points

  • The WHEN NOT MATCHED clause is used for inserting new rows into the target table.
  • It specifically deals with rows in the source that do not have a matching row in the target.
  • This clause is essential for synchronizing data between two tables efficiently.

Ready to go further?

Related questions