Zend
ZF-100-500 · Question #170
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)…
The correct answer is A. SELECT e.EmpName, m.ManagerName C. SELECT e.EmpName, m.ManagerNam e. See the full explanation below for the reasoning.
Question
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 and their managers, using a self join. Which of the following SQL statements can you 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.ManagerNam e
- DSELECT e.EmpName, m.ManagerName
How the community answered
(25 responses)- A84% (21)
- B4% (1)
- D12% (3)
Community Discussion
No community discussion yet for this question.