find out the second highest salary?
Answer Posted / padiya hiten
select * from emp e1 where (3=(select count(distinct
(e2.sal))from emp e2 where e2.sal>=e1.sal));
Is This Answer Correct ? | 4 Yes | 6 No |
Post New Answer View All Answers
Give the various rollback segment states.
How to create a table in a specific tablespace?
How to define a procedure inside another procedure?
How to convert characters to numbers in oracle?
Which dictionary tables and/or views would you look at to diagnose a locking issue?
how can we store any pdf file in oracle
How to rebuild an index in oracle?
Does oracle database need java?
What is meant by an index?
How to write a query with a left outer join in oracle?
How many categories of data types?
How to define a sub function?
What is a nested table and how is it different from a normal table?
What happens to the data files if a tablespace is dropped?
Difference between oracle's plus (+) notation and ansi join notation?