My programing World
A collection of programs and interview questions
Thursday, May 12, 2016
SQL : second highest salary
select * from
( select salary,dense_rank() over(order by grade salary) as r
from customer
) as E
where r = 2
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment