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 / sajida

--For ex in dept table to select 5th record. Instead of
this you can use &n so that it can ask row number

select rnum, d.* from dept d, (select rownum rnum ,
deptno from dept ) e
where d.deptno = e.deptno and rnum = 5

Is This Answer Correct ?    5 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does windows server 2016 come with sql server?

929


How to query multiple tables jointly?

985


What is the filtered index?

1048


Can you explain powershell included in sql server 2008?

934


What happens if ntwdblib.dll is missing on your machine?

1140


Can you import Microsoft Excel data to SSRS?

132


What is the difference between drop table and truncate table?

920


How to edit table in sql server 2017?

924


What is the command used to recompile the stored procedure at run time?

1075


How many replicas are maintained for each sql azure db?

124


Why are you getting errors when creating a new odbc dsn?

1213


What are the disadvantages of using the stored procedures?

1094


What is the difference between ‘having’ clause and a ‘where’ clause?

1035


How to insert stored procedure result into temporary table?

1013


How do you send email on SQL Server?

1057