Question: Which select statement will return the last name and hire date of an employee and his/her manager for employees that started in the company
Which select statement will return the last name and hire date of an employee and his/her manager for employees that started in the company before their managers? SELECT worker.last_name, worker.hire_date, manager.last_name, manager.hire_date FROM employees worker JOIN employees worker ON worker.manager_id = worker.employee_id WHERE worker.hire_date < worker.hire_date SELECT worker.last_name, worker.hire_date, manager.last_name, manager.hire_date FROM employees worker JOIN employees manager ON worker.manager_id != manager.employee_id WHERE worker.hire_date < manager.hire_date SELECT worker.last_name, worker.hire_date, manager.last_name, manager.hire_date FROM employees worker JOIN employees manager ON worker.manager_id = manager.employee_id WHERE worker.hire_date > manager.hire_date SELECT worker.last_name, worker.hire_date, manager.last_name, m.hire_date FROM employees worker JOIN employees manager ON worker.manager_id = manager.employee_id WHERE worker.hire_date < manager.hire_date
Step by Step Solution
There are 3 Steps involved in it
The detailed answer for the above question is provided below The question asks for a SQL query that ... View full answer
Get step-by-step solutions from verified subject matter experts
