Oracle Apps Technical
Showing posts with label
How to find Third or Nth Maximum salary from salary table?
.
Show all posts
Showing posts with label
How to find Third or Nth Maximum salary from salary table?
.
Show all posts
Wednesday, 30 October 2013
How to find Third or Nth Maximum salary from salary table?
SELECT SALARY
FROM
(SELECT DISTINCT SALARY FROM EMP ORDER BY SALARY DESC)
WHERE ROWNUM <=5;
Older Posts
Home
Subscribe to:
Comments (Atom)