how to retrive only second row from table in sql server
2000?

Answer Posted / belson gnana pradeep

SELECT TOP 1 salary FROM
(SELECT DISTINCT TOP 2 salary FROM employee
ORDER BY salary DESC) a ORDER BY salary

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to update a field in SQL after ALTERING a row?

690


Why variables called the most powerful component of ssis?

595


What are parameterized reports? What are cascading parameters in ssrs reports?

100


What is collation sensitivity? Explain different types.

548


What are three ways you can use an identity value inside a trigger? Why would you prefer one way over another?

547






What is the maximum size of column in sql server?

508


What are different type of Collation Sensitivity?

555


What is a dataset and what are the different types of datasets?

93


What’s the use of custom fields in report?

570


what are the different stages of Report Processing?

97


What new changes are being made in SQL Server?

574


What is blocking?

569


What are transactions and its controls?

617


explain different types of constraints? : Sql server database administration

517


how many no of arguments can be passed in procedures and functions

4783