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 to select nth record from a table?

Answer Posted / ravinder pawar

Hi Frnds,
Pravin's logic is correct. I am just modifying it little
bit.

Select Top 1 *
From (Select Top 5 *
from HumanResources.Employee
order by EmployeeID desc)as temp

---Note If we don't use temp we'll get error as mentioned
below:
Incorrect syntax near ')'.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain differences between web edition and business edition?

119


What are synonyms?

1018


What is table valued function and scalar valued functions?

1166


What is application role in sql server database security? : sql server security

1119


explain different types of joins? : Sql server database administration

1035


Mention the 3 ways to get a count of the number of records in a table.

1025


Is t sql the same as sql server?

1023


How to create an index on a view?

1143


What is co-related sub query?

1076


How can you append an identity column to a temporary table?

1036


How do I create a stored procedure in sql server?

1097


Explain a join?

1121


What are the 7 disadvantages to a manual system?

1034


what is database replicaion? : Sql server database administration

1272


How do I edit a stored procedure in sql server?

973