find out the second highest salary?
Answer Posted / nusrath sultana
select * from emp
where &n=(select count(distinct(sal)) from emp b
where emp.sal<=b.sal)
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Explain self joins in oracle?
What is oracle server autotrace in oracle?
What is a system tablespace and when it is created?
How to retrieve values from data fields in record variables?
How to delete a column in an existing table?
what is port in oracle? how is it related to database application.
How many types of tables supported by oracle?
What do you mean by a database transaction & what all tcl statements are available in oracle?
What are the numeric comparison operations?
Which dictionary tables and/or views would you look at to diagnose a locking issue?
How to see the table columns used in an index?
How to use attributes of the implicit cursor in oracle?
How to rename a tablespace in oracle?
How to pass parameters to procedures?
How to create a new view in oracle?