QuestionQ55

VerifiedManipulating Data

The EMPLOYEES table has columns that include EMPLOYEE_ID, JOB_ID, and SALARY.

Only the EMPLOYEE_ID column has an index.

Rows exist for employees 100 and 200.

Review this statement:

Question Image

Which two statements are correct?

Choose two
Explanation

The WHERE employee_id = 100 clause updates only employee 100. The row-value subquery selects job_id and salary from employee 200, so those two selected values are assigned to employee 100. Employee 200 is not modified. Oracle supports a multi-column SET clause whose subquery returns a corresponding value for each specified column.

Learn more

Community Discussion

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