how to find the second highest salary from emp table?
Answer Posted / hemanth kumar
select salary from employees where rowid=(select rowid from
employees where rownum<=2
minus
select rowid from employees where rownum<2)
order by salary
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is sorting in sql?
What is 19 null in sql?
Why do we need a foreign key?
What is dynamic sql in pl sql?
What are analytical functions in sql?
Which is the correct statement about truncate and delete?
How to load data with sql*loader?
What are the events on which a database trigger can be based?
Which column in the user.triggers data dictionary view shows that the trigger is a pl/sql trigger?
What are secondary keys?
What is the difference between mdf and ndf files?
What are few of the schema objects that are created using PL/SQL?
What is the use of desc in sql?
What are the different types of constraints?
what is data integrity? : Sql dba