HardThe difficulty is Hard, because the solution requires multi-step reasoning including the calculation of average pay, rank within grouped data, and the application of multiple conditions to filter the results. This complexity involves the use of advanced operations like window functions or ranking, as well as joining and subsetting data across multiple layers.
ID 9985
0
Find all employees who earned more than the average salary for their job title in 2013 but were not among the top 5 highest earners for their job title.
This question is part of a paid planUnlock the full question bank, official solutions and other users’ approaches.Unlock this question5-day money-back guarantee · Cancel anytime