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
what is the difference between delete and truncate commands? : Sql dba
How does one use sql*loader to load images, sound clips and documents? : aql loader
What are sql procedures?
how to analyze tables with 'mysqlcheck'? : Sql dba
Explain the components of sql?
How do you clear the screen in sql?
What are aggregate functions in sql?
Explain two easy sql optimizations.
How do you sort in sql?
Can we use distinct and group by together?
How can I change database name in sql?
How subquery works in sql?
what is the difference between mysql_fetch_array and mysql_fetch_object? : Sql dba
Which language is used in sql?
Why do we need view in sql?