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
What exactly do quotation marks around the table name do?
How do I know if oracle is installed on windows?
Why do we use coalesce function in oracle?
How to use select statement to count the number of rows in oracle?
How to create a new table by selecting rows from another table?
What is the use of oracle?
How to name query output columns in oracle?
What is recovery manager in Oracle?
State and explain the different types of data models?
How can you use check constraints for self referential integrity?
can u send the sql dumps to sivakumarr1987@gmail.com plz help me
What is the usage of synonyms?
What types of joins are used in writing subqueries?
How will you write a query to get a 5th rank student from a table student_report?
State all possible different index configurations a table can possibly have?