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
what are archived logs?
What are the major difference between truncate and delete?
What language does oracle use?
What is an oracle recycle bin?
What are the most common interview questions on ETL Testing for experience?
What is the data pump import utility?
What is bind variable in oracle 11g?
Database is hung. Old and new user connections alike hang on impact. What do you do? Your SYS SQLPLUS session IS able to connect.
What happens if recursive calls get out of control?
How to define a record variable to store a table row?
How to write an inner join with the where clause in oracle?
How to open a cursor variable?
What is the fastest query method to fetch data from the table?
How do I manually uninstall oracle client?
How to use attributes of the implicit cursor in oracle?