SQL Practice Logo

SQLPractice Online

Scenario SQL Question

Direct Manager and Skip-Level Manager

Build mastery in Self Joins Hierarchical with this scenario-based SQL challenge and live execution support.

Problem Statement

Write a query to show each employee with both their direct manager and their skip-level manager (manager's manager). Return employee_id, employee_name, direct_manager_name, and skip_level_manager_name.

Relevant Tables

employees

SQL Concepts Used in This Scenario

Strengthen your understanding with these targeted learning topics: