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

What are the execution control statements?

599


How to connect ms access to oracle servers?

538


What are the different types of modules in oracle forms?

542


What is bulk copy or bcp in oracle?

596


What is Reduced List of Values?

1689






What is set operator oracle?

515


What is an oracle function?

583


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?

1494


What is the difference between online and offline backups?

552


What is an oracle database table?

579


What happens to indexes if you drop a table?

681


What are the benefits of ordbms?

606


What are the differences between lov and list item?

546


What are the original export and import utilities?

556


How to shutdown your 10g xe server from command line?

545