Weekend Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ac4s65

Celina works as a Database Administrator for Tech Mart Inc.

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.

A.

SELECT e.EmpName, m.ManagerName

FROM Employees e, Employeesm

WHERE e.EmpID = m.ManagerID;

B.

SELECT e.EmpName, m.ManagerName

FROM Employees e INNER JOIN Employeesm

ON e.EmpID = m.ManagerID;

C.

SELECT e.EmpName, m.ManagerName

FROM Employees e LEFT OUTER JOIN Employees m

ON e.EmpID = m.ManagerID;

D.

SELECT e.EmpName, m.ManagerName

FROM Employees e SELF JOIN Employeesm

ON e.EmpID = m.ManagerID;

100-500 PDF/Engine
  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions
buy now 100-500 pdf
Get 65% Discount on All Products, Use Coupon: "ac4s65"