how to find the second highest salary in a given table????
Answer Posted / ajit nayak
SELECT MAX( Sal ), LEVEL
FROM Emp
WHERE LEVEl = &Givelevelno
CONNECT BY PRIOR Sal > Sal
GROUP BY LEVEL;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Differentiate between pre-select and pre-query?
What is concurrency in oracle?
What types of joins are used in writing subqueries?
Explain the use of record length option in exp command.
What is the difference between "as" and "is" in an oracle stored procedure?
How to connect ms access to oracle servers?
In which language oracle has been developed?
What privilege is needed for a user to create indexes in oracle?
Is there an oracle sql query that aggregates multiple rows into one row?
How to assign data of the deleted row to variables?
What is a private synonym?
How to Truncate Table in Oracle
What is the quickest way to export a table to a flat file?
What is blob datatype?
How to drop an index?