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 / kondeti srinivas

sql query:
SELECT * FROM (SELECT DEPTNO,SAL,RANK()OVER (PARTITION BY DEPTNO ORDER BY SAL DESC) AS RNK) WHERE RNK=5

IN INFORMATICA

SOURCE ---SQ--RANK TANSFORMATION IN THAT SELECT DEPTNO AS GROUP BY PORT AND SAL AS RANK PORT AND SELECT TOP AND RANK =5

OUT PUT FROM RANK WILL BE DEPARTMENT WISE TOP 5 SALARIES ARE DISPLOYED AND FROM RANK TRANFORMATION CONNECT ALL PORTS INCLUDE RANKINDEX TO FILTER GIVE A CONDITION LIKE RANKINDEX=6

AND CONNECT ALL PORTS TO TARGET

Is This Answer Correct ?    14 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to update or delete the rows in a target, which do not have key fields?

1218


How you prepared reports for OLAP?

1654


Explain about Informatica server process that how it works relates to mapping variables?

1122


What is meant by LDAP users?

1282


Write the program through which the records can be updated?

1051


If informatica has its scheduler why using third party scheduler?

1302


what is INFORMATICA TESTING process

2330


How to create Target definition for flat files?

1279


Different circumstance which drives informatica server to expel records?

1038


What is the difference between a connected look up and unconnected lookup?

998


in reporting we add some new objects,how we get the count of the newly added objects to the report

2248


Explain transaction control transformation in informatica

1307


if we have a delimiters at unwanted places in a flat file how can we over come those.

2085


What is the surrogate key?

1356


What do you understand by term role-playing dimension?

1114