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


Please Help Members By Posting Answers For Below Questions

What are the basic requirements to join two sources in a source qualifier transformation using default join?

604


How might one distinguish in the case of mapping is right or not without associating session?

633


What is a dimensional model?

571


How do you load only null records into target?

728


How to join three sources using joiner? Explain though mapping flow.

683






Why is sorter an active transformation?

653


Explain the mapping variable usage example in informatica

624


What is the benefit of partitioning a session?

617


draw informatica architecture 8.6 ?

3461


Enterprise data warehouse your projects phase by phase explain?

1444


How many numbers of sessions can one group in batches?

610


lookup transformation with screenshots

3547


Difference between Target-based loading and constraint-based loading?

544


update strategy transformation in informatica

628


What is mapping debugger?

563