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

select salary from(select salary,rownum rk from(select salary from employees order by salary desc)) ehere rk=2;

Is This Answer Correct ?    2 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What problem one might face while writing log information to a data-base table in pl/sql?

1158


Why are aggregate functions called so?

946


What is the usage of when clause in trigger?

1051


What are dml commands?

1020


What are the built in functions of sql?

1027


What is consistency?

1117


What are the different types of triggers?

1131


What is data abstraction in sql?

1024


Which are the different character-manipulation functions in sql?

1061


What is compound trigger?

1034


What is pl sql record in oracle?

1026


What is recursive join in sql?

1004


What is sap sql anywhere?

1069


What is difference between ms sql and mysql?

959


What are the different sql languages?

1034