Loading...

Higher Than Supervisor

A easy SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.

Domain
SQL
Difficulty
easy
Seniority
mid

Problem

Surface employees whose salary is higher than their direct manager's. Pull the employee's name and salary alongside their manager's name and salary, excluding anyone who reports to no one.

Practice This Problem

Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a live PostgreSQL database and grades it instantly.