Write query to fetch second maximum salary from employee table.

Answer Posted / vijayalakshmi

select  top 1 Coumn_Name from (select top 2 Coumn_Name from Table_name order by Coumn_Name desc) b order by Coumn_Name

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the use of analyse option in exp command.

595


You have 4 instances running on the same UNIX box. How can you determine which shared memory and semaphores are associated with which instance?

1452


How to handle a single quote in oracle sql?

600


Can we insert data in view oracle?

547


How to execute a stored program unit?

591






What are the differences between blob and clob in oracle?

592


What is raw datatype?

599


Difference between hot backup vs. Cold backup?

615


how to use select statement as formal parameter in procedure specification?(someone said that using string) ex:-procedure(a in number,select ename from emp ) i am asking syntax like this?

1540


What privilege is needed for a user to create indexes in oracle?

582


How to use "in" parameter properly?

623


How to see the table columns used in an index?

606


What is the database name in oracle?

543


Explain the use of inctype option in exp command.

602


Difference between the “verify” and “feedback” command?

784