how to get the second max val for every group in a table

Answer Posted / indu

select max(sal) from salary where sal NOT IN (select max(sal) from salary)

Is This Answer Correct ?    9 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When do you get a .pll extension in oracle?

676


Explain drop constraint oracle?

589


What is a subquery?

611


Please send me Informatica 8.1 certification dumps, my mail id mona85gupta@gmail.com

1435


What is the relation of a user account and a schema?

611






Other than making use of the statspack utility, what would you check when you are monitoring or running a health check on an Oracle 8i or 9i database?

1507


What is a directory object?

589


What is a trigger and what are its types?

613


Respected sir, Please send me technical questions related to oracle apps..

1377


How to list all tables in your schema?

605


What do you mean by redo log file mirroring?

553


Explain oracle 12c new features for developers?

537


Explain about functional dependency and its relation with table design?

550


What types of joins are used in writing subqueries?

563


What is primefaces used for?

558