How to select nth record from a table?
Answer Posted / roxy
select top 1 * from (select top n * from tbl order by col1
desc) tbl order by col1 asc
where n = nth number in the list
| Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
What are the different types of sub-queries?
What is dimension table? : sql server analysis services, ssas
What is update locks?
How to find the service pack installed? : sql server database administration
How to delete existing rows in a table?
How do I create a stored procedure in sql server?
What does it mean to manipulate data?
What is data modeling and Reterminal integrity?
Explain atomicity?
What is mapping schema?
Can you change the data type of a column in a table after the table has been created? If so, which command would you use?
What is it unwise to create wide clustered index keys?
what is the difference between delete table and truncate table commands? : Sql server database administration
if you encounter this kind of an error message, what you need to look into to solve this problem? : Sql server database administration
Tell me what is fill factor?