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
How the ipc stage work?
How many areas for files does datastage have?
Lookup constraints
What is the difference between passive stage and active stage?
How many types of sorting methods are available in datastage?
What are the differences between datastage and informatica?
What are the features of datastage flow designer?
What is use Array size in datastage
What is the different type of jobs in datastage?
What are the functionalities of link partitioner?
What is the difference between validated and compiled in the datastage?
What is the difference between odbc and drs stage?
Can anyone tell me a difficult situation who have handled while creating Datastage jobs?
how to get sum of sal based on dept_no and then sum of all sal irrespective of dept_no in same sql. output:- 10, 200(sum of sal for dept_no 10), 5000(sum of all sal)
What are the processing stages?