find out the second highest salary?
Answer Posted / akash
select emp_id,sal from ( select emp_id,sal from emp where
sal < ( select max(sal) from emp) order by sal desc ) where
rownum < 2;
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Typically, where is the conventional directory structure chosen for Oracle binaries to reside?
How translate command is different from replace?
What is memory advisor in Oracle?
What are the differences between interval year to month and interval day to second?
How to drop an existing table in oracle?
is there a tool to trace queries, like profiler for sql server?
i wrote a pl/sql procedure. it must run every sunday 4.40 How can i schedule it with the help of dbms_jobs (or another other procedure with out creating bat file,exe file)
What is private procedure oracle?
How do you bind variables in oracle?
How to apply filtering criteria at group level in oracle?
How to rename an existing table?
Is it possible to center an object horizontally in a repeating frame that has a variable horizontal size ?
Difference between inner join vs where ?
how the indexes are stored in the Oracle Database?
How to lock and unlock a user account in oracle?