Zend PHP 5.3 Certification Exam


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
  • Question 12/21

    You have created a table based on the following data:

    
    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)
    
    Now, you want to display the names of employees who are managers, using a self join. Which of the following SQL statements can you use to accomplish this?