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
How can windows applications connect to oracle servers?
what is the use of system.effective.date variable in oracle?
What is transaction control statement and how many types of transaction control statement in Oracle?
WHEN CURSOR MOVES FROM ONE FORM TO ANOTHER FORM, HOW MANY TRIGGER WILL BE FIRED AND WHAT ARE THEIR SEQUENCE?
How to invoke the original export import utilities?
what are archived logs?
How to create a table in a specific tablespace?
Why do I get java.lang.abstractmethoderror when trying to load a blob in the db?
What is a procedure in oracle?
What does sharding mean?
Explain oracle instance.
How to write a query with an inner join in oracle?
What are the differences between lov and list item?
How to write text literals in oracle?
Why should I use oracle database?