Find out the 3rd highest salary?
Answer Posted / srikanth
select * from (select e.*,rank() over(order by salary desc
nulls last) sal_rnk from employee e)where sal_rnk=3;
| Is This Answer Correct ? | 3 Yes | 5 No |
Post New Answer View All Answers
What is the difference between between and in condition operators?
Why is stored procedure faster than query?
Is sql dba a good career? : SQL DBA
How do you rank data in sql?
Write a sql query to convert all character to uppercase after hypen.
How do I find duplicates in two columns?
How many commands are in sql?
Are there any features that are decommissioned in 11g that are not present in 11g?
how to analyze tables with 'mysqlcheck'? : Sql dba
what are the different functions in sorting an array? : Sql dba
What is a full join?
How can you select unique records from a table?
How can we implement rollback or commit statement in a trigger?
How to avoid using cursors?
what is the difference between blob and text? : Sql dba