Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how do we find every fifth record in a table

Answer Posted / kumar.t

Table Name Is Employee
EmployeeId Is Identity field

Select * From Employee Where EmployeeId In (Select
EmployeeId From Employee Where EmployeeId%5=0)

by
Kumar.T

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we take the full database backup in log shipping?

997


How to create an index on an existing table in ms sql server?

1028


Which sql server table is used to hold the stored procedure scripts?

1111


Sql server reporting services vs. Crystal reports.

140


What are unicode character string data types in ms sql server?

1346


How to run queries with sql server management studio express?

1153


What is the preferred way to create a clustered and non-clustered index? Which index should you create first the clustered or non-clustered?

964


What is the difference between NOROW and LOCKROW?

2900


Explain few examples of RDBMS?

1102


List few advantages of stored procedure.

1026


Where sql server user names and passwords are stored in sql server? : sql server database administration

1106


What is a coalesce function?

1254


How do I start sql server agent automatically?

1027


What is the difference between upgrade and migration in sql server?

1150


What happens if the update subquery returns multiple rows in ms sql server?

1171