Last Updated: November 2026
Write a query to get the list of managers whose salary is less than twice the average salary of employees reporting to them. For these managers, output their ID, salary and the average salary of employees reporting to them.
See the full interview round by round, with questions for each stage.