find out the second highest salary?
Answer Posted / aravind
select * from empdetails where sal=(select max(sal) from
empdetails where sal<(select max(sal)from empdetails));
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is analyze command used for?
Explain the dml?
How to connect to the server with user account: sys?
How do you tell what your machine name is and what is its IP address?
How to increment dates by 1 in oracle?
How to invoke the original export import utilities?
How to use "while" statements in oracle?
What is a data dictionary and how can it be created?
How to set up autotrace for a user account?
Explain the truncate in oracle?
How do I decide when to use right joins/left joins or inner joins or how to determine which table is on which side?
How do I manually create a database in oracle?
What is a read write transaction in oracle?
How to define a sub function?
How do you bind variables in oracle?