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

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


somebody tell me he logic....!

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I view tables in sql developer?

960


What is the sql case statement?

1018


What is record in pl sql?

1094


How would you convert date into julian date format?

1010


What is the requirement of self-join?

1140


How to run pl/sql statements in sql*plus?

1095


what is query cache in mysql? : Sql dba

1050


How to return multiple rows from the stored procedure?

979


What is primary key in db?

1019


What is crud stand for?

1007


What is embedded sql with example?

1059


What does closing a cursor do?

1332


Explain the difference in execution of triggers and stored procedures?

1028


Why is the cursor important?

1051


Is time a data type in sql?

915