how to select second mauximum value in a given table under salary column
Answer Posted / u.radha
SELECT * FROM (SELECT ENAME,SAL,DENSE_RANK() OVER(ORDER BY SAL DESC) RN FROM EMP) WHERE RN = 2;
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How to convert raw data type into text in oracle? Explain
What is an oracle recycle bin?
How can I combine multiple rows into a comma-delimited list in oracle?
Oracle
List out the difference between commit, rollback, and savepoint?
What is a table index?
src name sex a,male b,female c,male d,female Required output : male female a,b c,d tried pivot but was not successfull select * from src pivot (max(name) for sex in ('MALE','FEMALE'));
Explain oracle 12c new features for developers?
What is logical backup in oracle?
How to get execution statistics reports on query statements?
What is the difference between the Oracle ODBC driver and a Microsoft ODBC (Open Database Connectivity) Driver?
What is the difference between sharding and replication?
How to empty your oracle recycle bin?
What is the max number of columns in an oracle table?
What are the system predefined user roles?