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
difference between repository database and repository service?
What is the difference between source qualifier transformations source filter to filter transformation?
What are the prerequisite tasks to achieve the session partition?
How to start a workflow using pmcmd command?
What is union transformation in informatica?
source : xml file target: xml file how can we check data loaded into target xml file using writing sql query. pls help on this asap.
What are the limitations of joiner transformation?
What are batches?
How to go to the older version for a mapping?
Can we use procedural logic inside infromatica? If yes how, if now how can we use external procedural logic in informatica?
Which means the first record should come as last record and last record should come as first record and load into the target file?
what is the size ur source like(file system or database)? how many record daily come u r banking project?
How to generate sequence numbers using expression transformation?
what is the difference between informatica6.1 and infomatica7.1
Hi friends I want to know about what r the dimensions in the banking porjects and genarally how many tables r in project ?