By using Transformation i need top most 5 employee salary
from each deptwise? Deptno 10,20,30? which transformation
we need to use?

Answer Posted / jay

Override SQL in source qualifies with bellow query

Select Top 5 EmpNo, DeptNo, Sal from Employee where DeptNo = 10 order by Sal desc

Union All

Select Top 5 EmpNo, DeptNo, Sal from Employee where DeptNo = 20 order by Sal desc


Union All

Select Top 5 EmpNo, DeptNo, Sal from Employee where DeptNo = 30 order by Sal desc

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the way to execute pl/sql script using informatica mapping?

1083


What is the meaning of decode in informatica?

755


How to create different types of slowly changing dimensions (SCD) in informatica using the mapping wizard?

709


Is it possible to define a single node as a Gateway node as well as worker node?

763


What is informatica?

771






How do you load first and last records into target table? How many ways are there to do it? Explain through mapping flows.

762


what is song in infrmatica...?

1812


How we can create indexes after completing the load process?

789


Implementation methodology

1348


What is a predefined event?

750


What are the different types of repositories created using informatica?

758


Explain the various test procedures used to check whether the data is loaded in the backend, performance of the mapping, and quality of the data loaded in informatica?

645


What is target load order?

898


Do you find any difficulty while working with flat files as source and target?

769


What is native users?

801