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

Why main is user defined function?

954


What is the name of the system variable that returns the number of rows affected by a SQL statement?

969


Which operator do you use to return all of the rows from one query except rows are returned in a second query?

946


What are different types of database indexes?

1014


Explain the difference between delete,drop and truncate in SQL Server?

1022


What is the order by used for?

965


When would you use an insert into .. Select option versus an insert into .. Values option? Give an example of each?

1053


What is sql server transaction log file?

994


How to provide login information for a new odbc dsn?

980


Explain the architecture of ms sql reporting service?

872


How to drop an existing table?

961


Explain what role entity and relationship play in an ER diagram.

1018


What are the different types of replication are there in sql server 2000?

984


What is table constraint?

932


Do you know what is sql service broker?

997