Get the Manager for a Single Employee

suggest change

Consult the above example tables when looking at this example.

SELECT m.mgr_id, m.first_name, m.last_name
FROM managers m
INNER JOIN employees e ON e.mgr_id = m.mgr_id
WHERE e.emp_id = 'E03';
MGR_ID FIRST_NAME LAST_NAME
M03 Barrel Jones

This is the inverse of the previous example. Each employee has one manager, so the query returns one row.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents