How to select nth record from a table?
Answer Posted / andy
select a.id,a.name from dept a
where
1= (select COUNT(b.id) from dept b where b.id>a.id)
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
What is a view in sql?
What is user-defined multi-statement table-valued function?
What are indexes in sql?
what is normalization? : Sql server database administration
What is the purpose of a table?
What are system databases into sql server (2005/2008)?
Can you explain different types of joins?
Explain trigger classes i.e. Instead of and after trigger?
Tell me something about security and sql azure?
Where the sql logs gets stored?
Do you know what is openxml in sql server?
Explain SSRS Architecture?
What is an example of a foreign key?
What are different types of raid levels?
Detail about the hardware which is supported by SQL server?