SQLDAXExcelPython
Leaderboard
JoinsMedium20 points

Employees and their managers

Return EmployeeName and the name of their manager for every employee. The head of sales has no manager, so that person must still appear, with NULL as the manager.

Show solutionLifetime

Runs in your browser with DuckDB, whose SQL is close to PostgreSQL. Nothing you type is sent to a server unless you save a score.

SQLselect text to run only that part
Loading editor…

Press Ctrl+Enter or Run to see the result here.