MediumConceptSQL for data engineers
How do you find the second highest salary per department?
This answer is part of Pro
48 of 348 Data engineering answers are free. A Pro pass opens the rest, including hands-on task steps.
PreviousWhat are window functions and how do ROW_NUMBER, RANK and DENSE_RANK differ?Next How do you remove duplicate rows from a table?