hi my source is::
empno,deptno,salary
1, 10, 3.5
2, 20, 8
2, 10, 4.5
1, 30, 5
3, 10, 6
3, 20, 4
1, 20, 9
then target should be in below form...

empno,max(salary),min(salary),deptno
1, 9, 3.5, 20
2, 8, 4.5, 20
3, 6, 4, 10
can anyone give data flow in data stage for the above
scenario....

thanks in advance...

Answer Posted / eswararao

create one group using column generator and then Using Aggregator stage select max sal,min sal

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain kafka connector?

780


Can you explain how could anyone drop the index before loading the data in target in datastage?

900


What is the difference between orabulk and bcp stages?

578


How to perform incremental load in datastage?

673


What are the partitioning techniques available in link partitioner?

1758






What are the benefits of datastage?

731


What are stage variables, derivations and constants?

673


Differentiate between operational datastage (ods) and data warehouse?

677


Where do you see different stages in the designer?

633


AGGREGATOR default datatype

937


What is the differentiate between data file and descriptor file?

866


how can we create rank using datastage?what is the meaning of rank?

8192


Which is the best institute in Hyderabad to learn OBIEE and DataStage?Please tell me faculty name also

2747


Nls stands for what in datastage?

729


What are the main features of datastage?

663