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
Different types of keys in SQL?
What is trace flag in sql server?
How to retrieve error messages using mssql_get_last_message()?
What is pivot and unpivot?
What is an execution plan? How would you view the execution plan?
What is the difference between a local and a global temporary table?
What is the exact numeric data type in sql?
How to delete existing triggers using "drop trigger"?
What are the extra roles available in msdb? : sql server security
What is the default order of an order by clause?
Difference between DELETE and TRUNCATE?
How to convert a numeric expression from one data type to another?
what are the different types of SSRS reports?
What is difference between line feed ( ) and carriage return ( )?
please differentiate between delete and truncate?