Zend
200-530 · Question #495
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 FROM Employees e INNER JOIN Employees m ON B. SELECT e.EmpName, m.ManagerName FROM Employees e, Employees m WHERE. 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. SQL statements can you use to accomplish this? Each correct Which of the following Answer represents a complete solution. Choose two
Options
- ASELECT e.EmpName, m.ManagerName FROM Employees e INNER JOIN Employees m ON
- BSELECT e.EmpName, m.ManagerName FROM Employees e, Employees m WHERE
- CEmpID = m.ManagerID;
- DSELECT e.EmpName, m.ManagerName FROM Employees e SELF JOIN Employees m ON
- ESELECT e.EmpName, m.ManagerName FROM Employees e LEFT OUTER JOIN
How the community answered
(50 responses)- A84% (42)
- C4% (2)
- D10% (5)
- E2% (1)
Community Discussion
No community discussion yet for this question.