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


Please Help Members By Posting Answers For Below Questions

How to insert and update data into a table with "insert" and "update" statements?

508


What is SQL Azure Firewall?

116


What is the Main Difference between ACCESS and SQL SERVER?

559


List out the differences between the clustered index and non-clustered index in sql server?

501


explain different types of backups avaialabe in sql server? : Sql server database administration

590






What are the advantages of policy management?

582


How to execute multiple stored procedures at one time in sql server?

504


What is sql server profiler?

569


How the authentication mode can be changed?

604


What is the use of =,==,=== operators?

576


What is the difference between NOROW and LOCKROW?

2235


What are the characteristics of modern DBMS?

619


What is the name of reporting services config file and what’s it’s used for?

107


Define normalisation?

675


Differentiate between mongodb vs. Sql server?

576