how to retrive the max(sal),deptno,empno in datastage?
Answers were Sorted based on User's Feedback
Answer / prasad
select empno,sal,deptno from tablename where (sal,deptno)in(select max(sal),deptno from tablename group by deptno)
in datastage
oracle stage->aggregator stage->lookup->dataset
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / xxx
Hi,
In Aggregator stage:
Specify Group By condition on EMPNO column instead of
DEPTNO.
aggregator type=calculation
column for calculation=sal
max value output column=max(sal)
| Is This Answer Correct ? | 0 Yes | 3 No |
What is oci?
What is developer responsibilities in UAT (user acceptance testing and Post implementation phase?
How a routine is called in datastage job?
data stores in which location while using data set stage as the target?
How can we perform 2nd time extraction of client database without accepting the data which is already loaded in first time extraction?
cust id,cust quty like 1,101;1,102;1,103 i want output like cust id,cust quty 1 101,102,103 in oracle please write a query in oracle
If you want to use the same piece of code in different jobs, how will you achieve it?
What is difference between symmetric multiprocessing and massive parallel processing?
how can or from where we can get reference data in scd type2 implementation?
sed,awk,head
Hi Vijay here For Four CPU's how many nodes will required?
how to abort the job its matain duplicates?