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
Whats difference betweeen operational data stage (ods) and data warehouse?
What is the purpose of pivot stage?
What is the difference between in process and inter process?
Describe the main features of datastage?
Explain the importance of surrogate key in data warehousing?
Differentiate between datastage and informatica?
how to connect source to db?generally what r stages u used? how to find the data is having delimiter format?
How do you reject records in a transformer?
To see hidden files in LINIX?
how to add a new records into source?
What is a merge?
Define oconv () and iconv () functions in datastage?
What all are the different way to run a job?
Define project in datastage?
I have a few records just I want to store data in to targets cycling way how?