nerdexam
Zend

ZF-100-500 · Question #52

Celina works as a Database Administrator for Tech Mart Inc. The company uses an Oracle database. The database contains a table named Employees. Following is the structure of the table: EmpID NUMBER…

The correct answer is A. SELECT e.EmpName, m.ManagerName B. SELECT e.EmpName, m.ManagerName. See the full explanation below for the reasoning.

Question

Celina works as a Database Administrator for Tech Mart Inc. The company uses an Oracle database. The database contains a table named Employees. Following is the structure of the table: EmpID NUMBER (5) PRIMARY KEY EmpName VARCHAR2 (35) NOT NULL Salary NUMBER (9, 2) NOT NULL Commission NUMBER (4, 2) ManagerName VARCHAR2 (25) ManagerID NUMBER (5) Celina wants to display the names of employees and their managers, using a self join. Which of the following SQL statements will she use to accomplish this? Each correct answer represents a complete solution. Choose two.

Options

  • ASELECT e.EmpName, m.ManagerName
  • BSELECT e.EmpName, m.ManagerName
  • CSELECT e.EmpName, m.ManagerName
  • DSELECT e.EmpName, m.ManagerName

How the community answered

(32 responses)
  • A
    69% (22)
  • C
    9% (3)
  • D
    22% (7)

Community Discussion

No community discussion yet for this question.

Full ZF-100-500 Practice