how to select second mauximum value in a given table under salary column
Answer Posted / sonthosh
SELECT * FROM
(
SELECT
NAME
,SALARY
,RANK() OVER (order by salary desc) RANK
FROM EMPLOYEE)
WHERE RANK = 2
| Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
How to get maxsal , minsal, ename department wise in single query
Is there an oracle sql query that aggregates multiple rows into one row?
Is it possible to insert comments into sql statements return in the data model editor ?
How to get last row id?
How to run the anonymous block again?
How to create an oracle database manually?
How to use subqueries in the from clause in oracle?
if you ctreate table identity
How would you best determine why your MVIEW couldnt FAST REFRESH?
Use of an integrity constraint is better to validate data. Explain
What is the data pump import utility?
what is the difference between data migration and production migration.
Is oracle a programming language?
Query to retrieve record for a many to many relationship ?
Explain the difference between a procedure and a function? What do you understand by those terms?