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 / hema

Select sal from emp a where 2=(select count(distinct sal)
from emp b where a.sal <= b.sal)

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Calculate difference between 2 date / times in oracle sql?

1044


How to export your own schema?

1011


What is recycle bin in Oracle?

1154


What are the various constraints used in oracle?

1048


How to execute a stored program unit?

1084


What is Reduced List of Values?

2173


What is the simplest tool to run commands on oracle servers?

1013


Explain what are clusters?

1113


Explain the features of oracle?

1053


How to update values on multiple rows in oracle?

1037


What suggestions do you have to reduce the network traffic?

967


What do you mean by group by clause?

1049


How to call a sub procedure?

1101


Explain the use of log option in exp command.

1124


How to calculate date and time differences in oracle?

1045