i have a table like
empid ename year month sal
1 x 98 jan 500
1 x 98 feb 500
1 x 98 mar 500
1 x 99 jan 600
1 x 99 feb 600
2 y 98 jan 600
2 y 98 feb 600
2 y 98 mar 600
2 y 99 jan 700
2 y 99 jan 700
and so on
i want to find out totsal for every emp on year wise
plz help me
Answer Posted / jaimeen shah
if you talk about in Informatica then in mapping use
Source Definition --> Source Qualifier (Default T/R) -->
Modified the SQ query to load the data that you have
required.
select empid, ename, sum(sal) as totalsal from test1
Group by years, ename, empid
Order by ename, empid
and connect the SQ ports to Target definition.
It gives you the result which you require.
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What is a snowflake schema?
What happen when you enable grid option avilable at session level ? (Ans found: Scalabily . A single session Parallelization) But how can one session is sharable among different nodes at the same time while running ?
What is the commit type if you have a transaction control transformation in the mapping?
What is the difference between a connected look up and unconnected lookup?
what are the best practices to extract data from flat file source which are bigger than 100 mb memory?
If I have 10 flat files with same name abc.txt files with different timestamps as source I need to load them in tgt table oracle. in between job execution fails and rows are not loaded into tgt. how can I make them load in that target even if my job fails?
What is workflow manager?
Why update strategy and union transformations are active?
Can u generate reports in Informatica?
what is the end to end process meaning in my project(my project is development)and functionality plz tell me
What are batches?
What is informatica etl tool?
What is mapping debugger?
In what scenario we use to improve session performance by pushdown optimization?can any one give example?
Tell me about MD5 functions in informatica