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

How are sql commands classified?

1086


Define select, insert, create, delete, update, drop keywords

1048


Where can I learn sql for free?

987


Can you call pl/sql package functions from within a fast formula?

1040


what happens if null values are involved in expressions? : Sql dba

1045


What is embedded sql what are its advantages?

1043


How do you update f as m and m as f from the below table testtable?

1858


Can we commit in trigger?

977


How to look at the current sql*plus system settings?

1149


Can we use update in sql function?

1060


Do prepared statements prevent sql injection?

950


What is %type in sql?

966


Show the cursor attributes of pl/sql.

1050


Is mariadb nosql?

1041


Does a user_objects view have an entry for a trigger?

1011