How to select nth record from a table?
Answer Posted / pravin s. ahire
Select Top 1 *
From (Select Top N * from tablename order by
table.ColumnName desc)
-- where N = nth record
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What are distinctive joins find as a part of sql?
Can we add a cpu to sql server?
What are the encryption mechanisms in sql server?
What is the purpose of self join?
How to use “drop” keyword in sql server and give an example?
What is a select query statement in ms sql server?
What are indexes in ms sql server?
What are the character string functions supported by sql server 2005?
How can we get count of the number of records in a table?
Is it true, that there is no difference between a rule and a check constraint?
What is relationship? What number of sorts of relationship are there?
What is the fastest way to permanently delete a 1 million row table named customers?
What is a non-clustered index?
What is coalesce in sql server?
Can select statements be used on views in ms sql server?