How to get max salary of an organization using data stage
stages...........
can any body help me plz.......
Answer Posted / amjad
Hi Naga,
If we use Aggregator stage, it will give the max value from
different groups, as per your example, it will group by
company, then it will give the max sal from each group. but
how to max sal from all the groups, i mean the out put
should be only one value.
Ex:
COMPANY,SAL
A, 2000
B, 3000
C, 4000
A,5000
B,6000
C,7000
A,8000
B,9000
C,9999
if we do like you mention output will be like :
comp,maxsal
A,8000
B,9000
C,9999
But, the output should be only
C,9999
Plese let me if iam wrong.
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
Define Merge?
What is developer responsibilities in UAT (user acceptance testing and Post implementation phase?
what is the difference between == and eq in UNIX shell scripting?
Explain Quality stage?
CHANGE CAPTURE
What is aggtorec restructure operator?
What is merge stage?
WAT TYPE OF PL/SQL QUERRYS USED IN DATASTAGE
Can you explain tagbatch restructure operator?
Have you used Unstructured data?
Enlist various types of routines in datastage.
How and where you used hash file?
Explain connectivity between datastage with datasources?
Explain the datastage parallel extender (px) or enterprise edition (ee)?
Source has 2 columns: USA,NewYork INDIA,MUMBAI INDIA,DELHI UDS,CHICAGO INDIA,PUNE i want data in target like below: INDIA,MUMBAI1 INDIA,DELHI2 INDIA,PUNE3 USA,NEWYORK1 USA,CHICAGO2