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 u can find the n row from a table?

Answer Posted / santosh kumar

SELECT EMPLOYEE_ID,LAST_NAME,SALARY,DEPARTMENT_ID
FROM (SELECT ROWNUM
R,EMPLOYEE_ID,LAST_NAME,SALARY,DEPARTMENT_ID FROM EMPLOYEES) A
WHERE A.R=&Record_Number;

---------------------------------------------
(This is easy method to find nth record from a table).....

Is This Answer Correct ?    30 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to get @@error and @@rowcount at the same time? : Sql dba

1037


Can we use pl sql in mysql?

1023


How we can create a table in pl/sql block. Insert records into it? Is it possible by some procedure or function? Please give example?

1060


What is synchronized subquery?

1179


How delete all data from table in sql?

1026


What is difference between nchar and nvarchar?

1038


What is set transaction?

1044


What is clustered and nonclustered index in sql?

950


What is insert command in sql?

1140


Why we use join in sql?

984


what is a database lock ? : Sql dba

1183


How to select 10 records from a table?

1168


what are the features and advantages of object-oriented programming? : Sql dba

1026


Show the two pl/sql cursor exceptions.

1206


What is benefit of creating memory optimized table?

983