Anybody can tell me, how do we find second largest emp
salary from emp table.. Thanks in advance ...

Answer Posted / amitkumar

Select TOP 1 salary from (select Distinct TOP 2 salary from
employee orderby salary desc)

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use "if" statements on multiple conditions?

723


What is a user account in oracle?

627


How do I find the database name in oracle?

601


How is it different from a normal table?

582


How does the on-delete-cascade statement work?

608






Explain the importance of .pll extension in oracle?

555


How view is different from a table?

557


What is meant by joins? List out the types of joins.

526


What are the components of logical database structure in oracle database?

582


How to list all indexes in your schema?

583


How to retrieve values from data fields in record variables?

570


What is a view and how is it different from a table?

573


How can you use check constraints for self referential integrity?

522


Can we use oracle pl/sql block in core java? if so how? pls get back to me .....

2504


How many objectname will be created for a single table drop function? Why 'flashback' query giving error "ORA-38312: original name is used by an existing object" while getting the table?

1807