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 / nataraj m

select * from employees where eid = (select max(eid) from
employees where eid in (select top 5 * from employees))

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do we know if any query is retrieving a large amount of data or very little data?

975


What is an index in a database?

979


What is NOT NULL Constraint in sql server 2012?

1000


How to find out the list schema name and table name for the database?

942


you have developed an application which uses many stored procedures and triggers to update various tables users ocassionally get locking problems which tool is best suited to help you diagnose the problem? : Sql server administration

957


What is join and name different type of joins?

1051


What is the size of transaction log file?

931


Explain system functions or built-in functions? What are different types of system functions?

979


How to delete duplicate rows in sql server?

1106


What are the functions in sql server?

947


How to invoke a trigger on demand?

1092


How to create a ddl trigger using "create trigger" statements?

1131


What do you mean by sql server 2005 express management tools?

1305


Can you explain what are various ways to enhance the ssrs report?

1002


How do I run a trace in sql server?

983