Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You have the following table with sample data: TABLE: employee _ t Employee _ ID EmployeeFirstName EmployeeLastName Department _ ID Manager _ ID Salary Phone
You have the following table with sample data:
TABLE: employeet
EmployeeID EmployeeFirstName EmployeeLastName DepartmentID ManagerID Salary Phone
Mary Jacobs
Kenji Numoto
Heather Jones
Rosalie Jackson
Steven King
James Nestor
Richard Wu
Kim Sung
John Smith
Which query will show all employees who are managers? Select all that apply.
Question options:
SELECT
FROM employeet
WHERE employeeid SELECT managerid FROM employeet;
SELECT
FROM employeet
WHERE employeeid managerid ;
SELECT DISTINCT e
FROM employeet e LEFT JOIN employeet m
on eemployeeid mmanagerid ;
SELECT
FROM employeet
WHERE employeeid IN SELECT DISTINCT managerid FROM employeet;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started