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
Define phantom deadlock.
What is mean by dbms?
Why do we need database?
What is the advantage of database management system?
What are database functions?
What is snow flake schema design in database? What's the difference between star and snow flake schema?
What are the types of database?
Enlist the various relationships of database.
What is natural key?
What is the maximum line size that dbms_output can handle?
Describe reporting lifecycle?
Operators used in select statements are?
What is tuple and attribute?
Write a query to remove duplicate rows from a table?
What is tabular form?