select Nth highest salary by using rownum
Answer Posted / xxx
SELECT * FROM EMP WHERE N=(SELECT COUNT(DISTINCT SAL) FROM EMP
WHERE SAL>=e.SAL);
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the default '-sort' order for a sql?
What is openedge translation manager?
What are the benefits of modeling?
What are the database objects?
Explain fully functional dependency?
What is the biggest advantage of rdbms?
Explain data dictionary.
Is there a way to detect whether fbclient.dll or fbembed.dll is loaded?
What are different types of transaction isolation levels?
Have you written applications to retrieve stored images in a table?
Why do we study dbms?
What are the two types of indexes and explain them in detail?
What is dbms introduction?
What is dbms used for?
What is alternate key?