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

how to find the 5th highest salary form each department
using 1.SQL Query
2. Informatica power center designer?

Answer Posted / yaseen

Select deptno,distinctsal from emp A where 5= (select count(distinctsal) from emp B where A.sal <= B.sal) groupby deptno

SQ----Rank TR-----Target
Rank t/R ---Group by on Deptno, Top --5

Plz correct if I am wrong

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In What Situations we can use MappingParameters ,Mapping Variables AND Session Parameters in REAL TIME.

2046


How many ways a relational source definition can be updated and what are they?

998


What are the types of schemas we have in data warehouse and what are the difference between them?

923


What is the command used to run a batch?

1049


What are connected or unconnected transformations?

1099


How to generate sequence numbers without using the sequence generator transformation?

1181


What are the types of caches in lookup?

1035


what is informatica metadata?

1018


How do you load unique records into one target table and duplicate records into a different target table?

1205


Dimension Object created in Oracle can be imported in Designer Cubes contain measures

2378


How to implement security measures using repository manager?

1152


How do you handle two sessions in Informatica

1129


How to create Target definition for flat files?

1196


Quickly characterize reusable change?

1091


What is a surrogate key?

1063