my soure table is emp having columns sal,deptno in the
deptno 10,20,30deptno row are there expected out
put is min(sal) of 10th deptno,max(sal) of 20th
deptno,mean(sal) of 30th deptno using aggregation stage

Answer Posted / percy

use aggregator stage in that perform first keycolumn as 10
and give calculation for sal as min sal
next take as 20 as key column maxsal for calculation same
as 30th dept

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the main features of datastage?

662


Is possible to create skid in dim,fact tables?

2191


To see hidden files in LINIX?

946


What is orabulk stage?

636


What is aggtorec restructure operator?

729






What is the purpose of pivot stage and types of containers in datastage

611


Can you define merge?

668


Differentiate between data file and descriptor file?

619


Hi, what is use of Macros,functions and Routines..? At what situation you are used. If you know the answer please explain it. Thanks.

1620


What is the roundrobin collector?

641


Explain the importance of surrogate key in data warehousing?

715


What is the difference between passive stage and active stage?

824


How and where you used hash file?

659


Explain the datastage parallel extender (px) or enterprise edition (ee)?

739


What is datastage?

649