how to retrive the max(sal),deptno,empno in datastage?
Answer Posted / subbuchamala
SRC--> COPY stage--> 2 o/p links from COPY Stage-->
one is --> AGGREGATOR and other is --> JOIN-->TGT
-->In AGG Stage:
set group=DEPNO
aggregator type=calculation
column for calculation=SAL
max value output column=SAL
-->O/P of AGG Stage:
SAL(max(sal), DEPNO
-->In JOIN stage:
Inner Join on DEPNO and SAL and get the EMPNO as well.
By doing this, we get Max(sal) of the employee on particular DEPNO.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Name the different types of Lookups in Datastage?
table actions available in oracle connector?
Can you explain kafka connector?
I/p : F1 table have A,B,C,D,E and F2 table having C,E,V i need output 0utput1: ABD output2: V any one suggest me this
Which warehouse using in your datawarehouse
hi.... am facing typical problem in every interview " I need some critical scenarios faced in real time" plz help me guys
Explain ibm infosphere information server and highlight its main features?
What are the processing stages?
Why do we use exception activity in Datastage?
How we can covert server job to a parallel job?
How many Key we can define in remove duplicate stage?
What is a folder? Difference types of stages?
Why fact table is in normal form?
What is aggtorec restructure operator?
Define meta stage?