Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- select Salary as SecondHighestSalary from
- (select Salary, row_number() over (order by Salary desc) as rank
- from Employee) temp
- where rank = 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement