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 3rd highest salary?

Answer Posted / lalit dwivedi

select a.salary
from emp a
where 3=(select count(distinct(b.salary))
from emp b
where a.salary<=b.salary)

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the need of a partition key?

958


What's the difference between a primary key and a clustered index?

960


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

993


What is a unique key and primary key and foreign key?

933


What is a primary key? Explain

936


How show all rows in sql?

989


What is the difference between distinct and unique in sql?

896


What is a unique constraint?

1029


What is trigger types of trigger?

1015


What is mutating error?

928


what is sp_pkeys? : Transact sql

1124


What is the command used to fetch first 5 characters of the string?

1355


Define commit?

963


What is auto increment in sql?

1076


what is the difference between rownum pseudo column and row_number() function? : Sql dba

1040