Scenario SQL Question
Employee Manager Relationships
Build mastery in Joins with this scenario-based SQL challenge and live execution support.
Problem Statement
List every employee with the name of their direct manager. Top-level employees (manager_id IS NULL) must still appear — show NULL for manager_first_name and manager_last_name. Return employee_id, first_name, last_name, manager_id, manager_first_name, manager_last_name — ordered by employee_id.
Relevant Tables
employees
SQL Concepts Used in This Scenario
Strengthen your understanding with these targeted learning topics: