how do we find every fifth record in a table

Answer Posted / vijaya

select * from employee where employeeID % 5=0

Is This Answer Correct ?    4 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you force a query to use a specific index?

522


What is the difference between clustered and non-clustered indexes in ms sql server?

484


Every night you run a full backup after every 3 three hours you make a differential backup every hour you make an incremental backup in a worst-case scenario, how much work you can lose?

512


How to declare and use cursor variables?

579


How efficient you are in oracle and SQL server?

633






What are views in ms sql server?

592


Explain some stored procedure creating best practices or guidelines?

514


What is store procedure? How do they work?

573


What part does database design plays a role in performance of an sql server-based application?

511


Can you explain what is indexed view? How to create it?

520


what is difference between view and Dip.

1993


What is sql server profiler?

565


Can you leave a union at any time?

530


What do you understand by replication in sql server? Mention the different types of replication in sql server.

499


Suppose you want to implement the many-to-many relationships while designing tables. How would you do it?

537