how do we find every fifth record in a table
Answer Posted / srivatsa p
Select Top 1 * From (Select Top 5 * From customers Order By
1 Asc) X Order By 1 Desc
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
How do I view a procedure in sql server?
Explain the categories of stored procedure?
What are the drawbacks of reporting in ssrs?
How to get the definition of a view out of the sql server?
How to enforce security in sql server? : sql server security
What is code near application topology?
Do you know data definition language, data control language and data manipulation language?
How to set database to be single_user in ms sql server?
How to retrieve error messages using odbc_errormsg()?
Explain the usage of floor function in sql server.
What is the difference between primary key and unique constraints?
Tell me when is the update_statistics command used?
Explain the flow of creating a cube? : sql server analysis services, ssas
Can we insert data into view sql server?
How to list all schemas in a database?