nerdexam
Oracle

1Z0-047 · Question #232

View the Exhibit and examine the structure of the EMPLOYEES table. You want to display all employees and their managers having 100 as the MANAGER_ID. You want the output in two columns: the first…

The correct answer is B. SELECT m.last_name "Manager", e.last_name "Employee" FROM employees m JOIN employees e. See the full explanation below for the reasoning.

Question

View the Exhibit and examine the structure of the EMPLOYEES table. You want to display all employees and their managers having 100 as the MANAGER_ID. You want the output in two columns: the first column would have the LAST_NAME of the managers and the second column would have LAST_NAME of the employees. Which SQL statement would you execute?

Exhibit

1Z0-047 question #232 exhibit

Options

  • ASELECT m.last_name "Manager", e.last_name "Employee" FROM employees m JOIN employees e
  • BSELECT m.last_name "Manager", e.last_name "Employee" FROM employees m JOIN employees e
  • CSELECT m.last_name "Manager", e.last_name "Employee" FROM employees m JOIN employees e
  • DSELECT m.last_name "Manager", e.last_name "Employee" FROM employees m JOIN employees e

How the community answered

(55 responses)
  • A
    4% (2)
  • B
    85% (47)
  • C
    9% (5)
  • D
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-047 Practice