Code QuizAdvanced
Filtering on a Window Function Result
Spot why filtering directly on a window function in WHERE fails and how a CTE fixes it.
What is the bug in this query, which is meant to return the top 3 earners per department?
Spot why filtering directly on a window function in WHERE fails and how a CTE fixes it.
What is the bug in this query, which is meant to return the top 3 earners per department?