How to get employee name from employee table which is the
fiveth highest salary of the table
Answer Posted / ashwin
Hi, you can use following query.
select ename,sal from(select ename,sal from emp order by sal
desc)where rownum=5;
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
In a distributed database system, can we execute two queries simultaneously?
What is raid? How does it help storage of databases?
What is clustered and nonclustered index in sql?
what are wild cards used in database for pattern matching ? : Sql dba
What is an intersect?
How do I view a view in sql?
what are date and time intervals? : Sql dba
How does postgresql compare to mysql?
How do I run pl sql in sql developer?
Can I learn sql in a week?
Is keyword pl sql?
Does google use sql?
what is an execution plan? When would you use it? How would you view the execution plan? : Sql dba
What are the two types of exceptions.
What version is sql?