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

1.how to extract the second highest salary from emp table
having sal as a column which contains the salary of all
employee of an organisation.

Answer Posted / neha k

select sal
from (SELECT sal, rownum row_num
FROM emp
order by sal desc)
where row_num = 2;

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

nw i'm doing MBA system and planning to do oracle,database management.tell me that whether it is useful r not?.refer any course for my carrier pls

2263


What is a subquery in oracle?

1166


How to save query output to a local file?

1083


What do you know about normalization? Explain in detail?

1000


What is ceil and floor in oracle?

1118


How are extents allocated to a segment?

1181


What is the oracle implicit cursor?

1111


What are advantages of dateset in datastage?

2307


What is not equal to in oracle?

1047


Using the relations and the rules set out in the notes under each relation, write statements to create the two sequence generators specified in the notes.

2174


Is primary key indexed by default in oracle?

1048


What is Reduced List of Values?

2244


How does oracle handle read consistency?

1151


What is a private synonym?

1644


What is a package ? What are the advantages of package ?

1136