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...

suppose we have a table in which 200 rows. i want to find
101 row ? what the query....
and how we find 4th and 5th highest salary and 1 to 10
highest salary

Answer Posted / hemant

select * from emp where (rowid,0) in
(select rowid,mod(rownum,101) from emp)
and rownum=1

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a sql schema used for?

1080


What is type and rowtype in pl sql?

1008


What is sql character function?

1052


What is difference between hql and sql?

1052


How long it takes to learn pl sql?

996


Which is better cte or subquery?

1015


How can you get sql*loader to commit only at the end of the load file? : aql loader

993


How can I tell if sql is running?

1033


What is cte?

963


What is nested table in pl sql?

1052


What is a pl/sql block?

1199


How to create your own reports in sql developer?

1006


Can a select statement fire a trigger?

1141


How do you explain an index?

1268


What is pl sql in oracle?

1024