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 can I create database in oracle?

1017


Explain implicit cursor.

1027


How to create a stored program unit?

1224


How to connect ms access to oracle servers?

1005


what happened to the global index when I truncate the data in one of the partition?

2020


how can we store any pdf file in oracle

2162


How to update a table row with a record?

1008


Database is hung. Old and new user connections alike hang on impact. What do you do? Your SYS SQLPLUS session IS able to connect.

2157


please explain.. DB architecture ...

2018


can u plz provide me oca sql dumps please i need them

1947


What is rowid and rownum in oracle?

1011


what are the advantages of running a database in archive log mode?

2201


What do you mean by redo log file mirroring?

1026


Explain the use of show option in imp command.

1096


How do we display rows from the table without duplicates?

972