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

Where are SQL server users names and passwords are stored in sql server?

710


How to defragment indexes with alter index ... Reorganize?

578


How to list all objects in a given schema?

558


Which joins are sql server default?

500


Which are the important points to note when multilanguage data is stored in a table?

510






What is create command?

518


What is ssl in sql server?

544


What are the rules to use the rowguidcol property to define a globally unique identifier column?

587


What is scheduled job and how to create it?

544


How to change server name in sql server?

554


How to check parameter value in stored procedure sql server?

456


How does normalization work?

498


What are different types of roles provided by ssrs?

112


What are “lost updates”?

607


Do you know exporting and importing utility?

524