find out the second highest salary?
Answer Posted / sumeet
select min(sal) from emp where sal in (select top 2 sal from
emp order by sal desc);
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
when we are importing items in inventory, showing errors, Oracle support suggested us for running scripts & also suggested if we run scripts, iprocurement applicaation if is there it will show shared and if we go in future for iprocurement, it wont work. So kinldy suggest any functional solution.
how to use select statement as formal parameter in procedure specification?(someone said that using string) ex:-procedure(a in number,select ename from emp ) i am asking syntax like this?
What is SQL access advisor in Oracle?
Explain the difference between a procedure and a function? What do you understand by those terms?
How to install oracle database 10g xe?
How to create a table in a specific tablespace?
Is oracle an operator?
Difference between oracle's plus (+) notation and ansi join notation?
What is a select query statement in oracle?
What is proxy method?
Where do you use decode and case statements?
How to write a left outer join with the where clause in oracle?
What is execute immediate in oracle?
What is tns entry?
does the query needs a hint to access a materialized view?