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 trigger explain with program?

978


What is transact-sql ddl trigger?

1104


what is the difference between openrowset and openquery?

1084


How to replace given values with null using nullif()?

987


How adventureworkslt tables are related?

926


Explain what is cte (common table expression)?

1129


State the difference between local and global temporary tables?

1117


How to edit table in sql server 2017?

926


What are the pre-defined functions in the sql server?

1104


Explain the categories of stored procedure?

937


What happens if null values are involved in arithmetic operations?

1011


What are the reporting services components?

142


What are the new features of sql server 2008 r2 reporting service?

209


can an order by clause be used in a creation of a view?

1176


Describe in brief system database.

1009