nerdexam
Oracle

1Z0-047 · Question #225

1Z0-047 Question #225: Real Exam Question with Answer & Explanation

Sign in or unlock 1Z0-047 to reveal the answer and full explanation for question #225. The question stem and answer options stay visible for context.

Question

View the Exhibit and examine the description of the EMPLOYEES table. You want to display the EMPLOYEE_ID, FIRST_NAME, and DEPARTMENT_ID for all the employees who work in the same department and have the same manager as that of the employee having EMPLOYEE_ID 104. To accomplish the task, you execute the following SQL statement: SELECT employee_id, first_name, department_id FROM employees WHERE (manager_id, department_id) =(SELECT department_id, manager_id FROM employees WHERE employee_id = 104) AND employee_id <> 104; When you execute the statement it does not produce the desired output. What is the reason for this?

Exhibit

1Z0-047 question #225 exhibit

Options

  • AThe WHERE clause condition in the main query is using the = comparison operator, instead of EXISTS.
  • BThe WHERE clause condition in the main query is using the = comparison operator, instead of the IN operator.
  • CThe WHERE clause condition in the main query is using the = comparison operator, instead of the = ANY
  • DThe columns in the WHERE clause condition of the main query and the columns selected in the subquery

Unlock 1Z0-047 to see the answer

You've previewed enough free 1Z0-047 questions. Unlock 1Z0-047 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 1Z0-047 Practice