nerdexam
Oracle

1Z0-061 · Question #222

Examine the structure of the EMPLOYEES and NEW_EMPLOYEES tables: EMPLOYEES EMPLOYEE_ID NUMBER Primary Key FIRST_NAME VARCHAR2(25) LAST_NAME VARCHAR2(25) HIRE_DATE DATE NEW_EMPLOYEES EMPLOYEE_ID…

The correct answer is A. MERGE INTO new_employees c USING employees e ON (c.employee_id = e.employee_id). The correct statement for MERGE is MERGE INTO table_name

Manipulating Data

Question

Examine the structure of the EMPLOYEES and NEW_EMPLOYEES tables:

EMPLOYEES EMPLOYEE_ID NUMBER Primary Key FIRST_NAME VARCHAR2(25) LAST_NAME VARCHAR2(25) HIRE_DATE DATE NEW_EMPLOYEES EMPLOYEE_ID NUMBER Primary Key NAME VARCHAR2(60) Which MERGE statement is valid?

Options

  • AMERGE INTO new_employees c USING employees e ON (c.employee_id = e.employee_id)
  • BMERGE new_employees c USING employees e ON (c.employee_id = e.employee_id) WHEN
  • CMERGE INTO new_employees c USING employees e ON (c.employee_id = e.employee_id)
  • DMERGE new_employees c FROM employees e ON (c.employee_id = e.employee_id) WHEN

How the community answered

(29 responses)
  • A
    76% (22)
  • B
    7% (2)
  • C
    3% (1)
  • D
    14% (4)

Explanation

The correct statement for MERGE is MERGE INTO table_name

Topics

#MERGE statement#DML syntax#upsert#table merge

Community Discussion

No community discussion yet for this question.

Full 1Z0-061 Practice