QuestionQ146

VerifiedManipulating Data

Review the structures of the EMPLOYEES and NEW_EMPLOYEES tables:

Question Image

Which MERGE statement is valid?

Explanation

Oracle MERGE uses a target specified with MERGE INTO, a source specified with USING, a match condition in ON, and WHEN MATCHED and WHEN NOT MATCHED clauses for update and insert actions. When no insert column list is specified, the number of supplied values must match the target table’s columns; the two supplied values match NEW_EMPLOYEES columns EMPLOYEE_ID and NAME in order.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!