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

Query for second maximum salary in each in each department

Answer Posted / nancy singhal

select max(salary) from emp where salary in(select salary
from emp where salary not in(select max(salary) from emp));

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you know that statistics should be updated?

1025


Is natural join and inner join same?

854


What is difference between table and view?

978


What is the difference between the conventional and direct path loader? : aql loader

1112


How do I run a pl sql program?

1066


Why do we use subquery?

944


what is table? : Sql dba

993


What is difference between rank () row_number () and dense_rank () in sql?

1052


Does view store data in sql?

902


What is pl sql package?

993


What is case function?

989


What is graph sql?

938


How can I make sql query run faster?

963


How much does sqlite cost?

986


Which certification is best for sql?

940