select Nth highest salary by using rownum
Answer Posted / welcomeashwin
SELECT * FROM HR.EMPLOYEES EMP1
WHERE &N=(
SELECT COUNT(DISTINCT(SALARY))
FROM HR.EMPLOYEES EMP2
WHERE EMP1.SALARY<=EMP2.SALARY
);
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the advantages of database software?
what do u mean by implementation?
Is file system a database?
How to use events with zebedee, ssh or stunnel?
What is the best database software?
What are the types of rdbms?
What's the difference between clustered and non-clustered indexes?
Enlist various types of interactions created by dbms?
Explain what are triggers and rules?
What are the differences between drop, truncate and delete commands?
What is the use of drop command?
Why is data modelling important?
Which is best database?
What are indexes? Mention the differences between the clustered and non-clustered index?
Plz send me Oracle Pl/Sql [1z0-147] dumps to this mail? sivakumarr1987@gmail.com