how to check the 3rd max salary from an employee table?
Answer Posted / akula
select min(sal) from(select distinct(sal) from emp order by sal desc) where rownum<=3;
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what is cursor. write example of it. What are the attributes of cursor.
How to use transactions efficiently : transact sql
What are pl sql procedures?
What are tuples in sql?
What is sql in java?
How can you tell the difference between an index and a view?
What is pl sql code?
Is sql better than access?
How can I change database name in sql?
What is execution plan in sql?
What is the purpose of primary key?
What is the difference between inner join and outer join?
Is sql difficult?
Mention what does the hierarchical profiler does?
What is having clause in sql?