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 / pallavi attarde

Here N is for Nth record.

SELECT TOP 1 * FROM
(SELECT TOP N * FROM
(SELECT Table.Coloumn1,Table.Coloumn2 from Table)
as d order by d.Coloumn1 desc) as p order by Coloumn1

Is This Answer Correct ?    8 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between functions and stored procedures?

1153


What are rows and columns?

1017


What Is Rdbms?

1149


State the difference between union and union all?

926


How global temporary tables are represented and its scope?

966


What are synonyms?

955


How do I start and stop sql server?

1014


Are null values the same as that of zero or a blank space?

1031


What are cursors? Explain different types of cursors. What are the disadvantages of cursors? How can you avoid cursors?

1165


What is store procedure?

1056


What are triggers? How do you invoke a trigger on demand?

1307


What is nolock hint in sql server 2008

1115


When a primary key constraint is included in a table, what other constraints does this imply?

983


How to create a simple user defined function in ms sql server?

1012


What is normalization according to you and explain its different levels?

945