how to find the particular row in table?(means suppose one
table contain 10 rows , in these 10 rows how to find the
particular row(example in 10 rows i want 5 row how)?

Answer Posted / senthilkumar

SELECT TOP 1 Empid
FROM (SELECT DISTINCT TOP 6 Empid FROM Employees ORDER
BY Empid desc) a ORDER BY Empid asc

Is This Answer Correct ?    4 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the new features in sql server 2016?

550


What is partitioned view?

529


What is used to replicate sessions between instances in coldfusion clusters?

588


What is an identity column in insert statements?

588


What is coalesce and check constraint in sql server?

552






How to get nth highest salary from employee table.

623


What is data source document?

551


Please explain that what are the basic functions for master, msdb, model, tempdb and resource databases? : SQL Server Architecture

562


What the different components of Replication and what is their use?

564


Is it important for a database administrator to understand the operating system and file access?

519


What is scrollable cursor?

545


What is data mart? : sql server analysis services, ssas

600


Differentiate between sql temp table vs table variable?

523


What is difference between createstatement and preparedstatement?

562


How to copy data from one table to another table?

549