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

What will happen if the select list columns in the custom override sql query and the output ports order in sq transformation do not match?

978


How to load the data from people soft hrm to people soft erm using informatica?

1025


During the running session, output files are created by informatica server. Enlist few of them.

985


what is diff b/t sorter t/r and agg have the option sorter property...

2184


What are the performance considerations when working with aggregator transformation?

1157


Design a mapping to load a target table with the following values from the above source?

1352


What is dimensional table? Explain the different dimensions.

1175


What is a passive transformation?

1110


Source and Target are flat files, Source table is as below ID,NAME 1,X 1,X 2,Y 2,Y On Target flat file i want the data to be loaded as mentioned below ID,NAME,REPEAT 1,X,2 1,X,2 2,Y,2 2,Y,2 How to achieve this, Can i get a map structure

7400


Which means the first record should come as last record and last record should come as first record and load into the target file?

1081


What is the format of informatica objects in a repository? What are the databases that informatica can connect to windows?

1207


what is the difference between informatica6.1 and infomatica7.1

2284


How does a sorter cache works?

1075


What is mapplet in informatica?

1065


What is a repository manager?

1098