how do we find every fifth record in a table
Answer Posted / shanmugam
with cte as(
select ROW_NUMBER() over (order by id) as serial,* from tablename
)
select * from cte where serial=5
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
how many layers of tcp/ip protocol combined of? : Sql server database administration
How to concatenate two binary strings together?
How to start and end transact-sql statements?
what is a transaction? : Sql server database administration
What is use of except clause? How does it differ from not in clause?
Why are sql functions used?
What is “asynchronous” communication in sql server service broker?
Find first and last day of current month in sql server
How to get the definition of a view out of the sql server?
What is a scheduled job or what is a scheduled task?
What is raid, and how it can influence database performance?
What is the concept of optimization?
Explain what is log shipping?
What is checkpoint process in the sql server?
What is unpivot?