MediumScenarioSQL
Write the approach to get the second highest salary per department.
This answer is part of Pro
12 of 186 Data Analyst answers are free. A Pro pass opens the rest, including hands-on task steps.
PreviousWhat do ROW_NUMBER, RANK and DENSE_RANK do differently on ties?Next When would you use a CTE instead of a subquery?