Code Quiz
Filtering Window Function Results
Spot why filtering directly on a window function fails and how a CTE fixes it.
This query is meant to return the top-paid employee per department, but it fails. What is the bug?
Spot why filtering directly on a window function fails and how a CTE fixes it.
This query is meant to return the top-paid employee per department, but it fails. What is the bug?