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

There are n numbers of flatfile of exactly same format are placed in a folder.Can we load these flatfile's data one by one to a single relational table by a single session??

1612


how to handle exceptions in post production

944


What is instant client oracle?

537


What is an oracle database?

609


How to delete a user account in oracle?

549






How to drop an existing table in oracle?

589


How to connect ms access to oracle servers?

547


Explain the use of analyse option in exp command.

584


Explain what are the characteristics of data files?

622


What is a connect identifier?

536


Explain user account with reference to oracle.

526


How to define a variable to match a table column data type?

576


What is the oracle implicit cursor?

591


Can a parameter be passed to a cursor?

598


Why do we need integrity constraints in a database?

584