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 view is different from a table?
What is a system tablespace and when it is created?
What is PL/SQL ?
why should i declare foreign key constraint as self relation instead of binary relation in tables ?
How can I create database in oracle?
How can I introduce multiple conditions in like operator?
What is an oracle database table?
Which dictionary view(s) would you first look at to understand or get a high-level idea of a given Advanced Replication environment?
Does oracle charge for java?
What is archive log in Oracle?
How to insert a record into a table?
Difference between oracle's plus (+) notation and ansi join notation?
I have a database backup file in .db (ext) form how to conver it into .dmp (ext.) for oracle database
What are the various constraints used in oracle?
What is transport network substrate (tns) in oracle?