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
Answer / sachin
use an aggregrator where you need to check the group by
port as emp id, ename and year.
| Is This Answer Correct ? | 9 Yes | 2 No |
Answer / xyz
select empid, year, sum(sal) as Totalsalary
From employees
group by empid, year;
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / vikneswaran
use agg trans group by empid and year then use sum(sal)
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / ankit kansal
Using SQL->
select empid,ename,year,sum(sal) Total_Sal from table_name
group by empid,ename,year;
Using Informatica->
SRC->SQ->Agg(sum(sal)[group by empid,ename,year])->TGT
http://deepinopensource.blogspot.in/
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain the features of connected and unconnected lookup.
Can you copy the session to a different folder or repository?
in source one table is there. id value --- ------ 1 a 2 b 3 c 1 d 2 e 1 f in target i want id value ---- ------ 1 a,d,f 2 b,e 3 f How to implement it in informatica without using normalizer transformation?
Enlist the various types of transformations.
we have 6 records in source , i need 2nd record in one target and 5th record in one target or 2nd & 5th record in same target.
In aggregator transformation, I sort the data before aggregator and select sorted port but still I’m getting an error. What is that error?
How You Pull the records on daily basis into your ETL Server.
How to delete the data in the target table after loaded.
Plz can any one say me how to get the informatica certification materials and dumps
How to use procedural logic inside infromatica? If yes how, if now how can we use external procedural logic in informatica?
In which conditions we can not use joiner transformation (Limitaions of joiner transformation) ?
If a session fails after loading of 10,000 records in to the target. How can you load the records from 10001 th record when u run the session next time?