Skip to the query
SQL

Everyone who reports to a manager, at any level

Hard
SQLite

Opening the code editor…

Result
Run shows what your query gives on the example rows.Submit checks it on the example rows and on a hidden set of rows.
SQL · ready