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 dynamic sql in pl sql?
What are actual parameters and formal parameters?
How does pl sql work?
What is group by in sql?
How to change the order of columns in Oracle SQL Plus ?
what is the difference between join and union? : Sql dba
What are different joins used in sql?
What is a trigger in sql?
What is the largest value that can be stored in a byte data field?
What is data type in database?
What is an implicit commit?
how would you write a query to select all teams that won either 2, 4, 6 or 8 games? : Sql dba
Can we enter data in a table in design view?
Is a secondary key the same as a foreign key?
What is foreign key in sql with example?