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

Answers were Sorted based on User's Feedback



i have a table like empid ename year month sal 1 x 98 jan ..

Answer / 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

i have a table like empid ename year month sal 1 x 98 jan ..

Answer / kumarvijay

If your source is file then use agrregator with aggregation
on year,emp_id have port with sum(sal).

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Informatica Interview Questions

why union transformation is active transformation?

6 Answers   IndiGo, TCS,


without update strategy how to insert &update?

1 Answers   DELL,


how to get the data from the client machine and how to get server location data to client loction can any body explain to me

1 Answers   TCS,


Please let me know how to make encryption and decryption with example?

1 Answers  


Source is a flat file and want to load unique and duplicate records separately into two separate targets; right??

4 Answers  


What are the components of workflow manager?

1 Answers  


COM components can be used in Informatica

1 Answers  


can we send mail when ever it get success or faulure to other mailid?(Not company mail id)

1 Answers   Puma,


How to load a Dimension ? and how to load a fact table?

1 Answers  


source table have single column single record having with single space. load that source record into trg . trgt having two columns and the SOURCE TABLE LIKE COL1 BHANU PRASAD TRGT TABLE COL1 COL2 IN THAT LOAD THE RECORD IN THE trgt table LIKE COL1 COL2 BHANU PRASAD HOW ? TELL ME PLZ

2 Answers   Wipro,


what is a transforamation?

5 Answers  


What is a poling?

2 Answers  


Categories