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 / umesh h

Use Minus Operator
select * from emp where rownum<=101
minus
select * from emp where rownum<=100;
Here minus will display data only from first query minusing
from 2 query.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a left inner join?

1023


How does sql developer connect to oracle database?

1008


Define commit, rollback and savepoint?

1038


Why is theta join required?

1149


What is a schema? How is it useful in sql servers?

1132


What is the difference between sql and t sql?

1048


Does sql support programming?

1076


What is delimiter sql?

1014


how can we optimize or increase the speed of a mysql select query? : Sql dba

956


Which join is default?

962


What is bulk collect in pl sql?

1101


What are tables in sql?

1073


Write an sql query to select all records from the table?

1039


How is sql used in oracle?

1015


Is primary key clustered or nonclustered?

1027