find out the second highest salary?
Answer Posted / nagaraju
SELECT LEVEL,MAX(SAL)
FROM EMP
WHERE LEVEL IN(2,3)
CONNECT BY PRIOR SAL>SAL
GROUP BY LEVEL;
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why we use bulk collect in oracle?
How to convert a string to a date in oracle database?
What is a table in oracle?
What are joins, explain all types of joins?
what happened to the global index when I truncate the data in one of the partition?
I have some query regarding Report generation from Oracle Apps "PO module". I have to generate a report where table columns are as below: Vendor_name Invoice No PO Number Item_Quantity Value of Goods Date of Shipping Name_of_the_transport Date_of_receipt_issued. Now my questions is :from which table/column I can get the information of "Name_of_the_transport" column. Thanks in advance.
Explain oracle insert into command?
Can a parameter be passed to a cursor?
Does facebook use oracle?
What is the effect of setting the value "all_rows" for optimizer_goal parameter of the alter session command? What are the factors that affect optimizer in choosing an optimization approach?
What is the difference between a user and a schema in oracle?
What is Segment Advisor in Oracle?
How to rename an existing table?
How to bring a tablespace offline?
How to start a specific oracle instance?