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

find out the third highest salary?

Answer Posted / venkatranjith e

Hi All,

This query will give you the o/p.

Select * from EMP A where &n= (select count (distinct
(sal)) from EMP B where B.sal>A.sal)

n = 3 , to display 3rd largest salary.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to synchronize 2 schema's objects?

2114


How to assign values to variables?

1042


Explain how you would restore a database using RMAN to Point in Time?

2093


What is pragma autonomous transaction in oracle?

989


How to write a query with an inner join in oracle?

972


how may join possible between (requisition with purchase order)

2164


What is the exact use of Collections?

2094


How to rename an existing table?

1048


State some uses of redo log files?

940


When do I need to use a semicolon vs a slash in oracle sql?

1025


How to connect ms access to oracle servers?

944


What is an index associated with a constraint?

973


What is the difference between primary key and unique key and foreign key in oracle?

917


How to get the Installed Oracle Version Information ?

1072


what is dynamic SGA and static SGA

4325