i/p o/p1 o/p2
1 1 4
1 1 5
1 1 6
2 2
2 2
2 2
3
3
4
5
6
how to populates i/p rows into o/p1&o/p2 using datastage
stages?and also the same scenario using sql?
Answer Posted / kalpana_241871
SQL>
SELECT COL1 FROM TAB1 GROUP BY COL1 HAVING COUNT(*) > 1 ;
O/P 1 :
1
1
1
2
2
2
3
3
SQL>
SELECT COL1 FROM TAB1 GROUP BY COL1 HAVING COUNT(*) = 1 ;
O/P 2 :
4
5
6
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
Differentiate between Symmetric Multiprocessing and Massive Parallel Processing?
Can you explain how could anyone drop the index before loading the data in target in datastage?
What is the difference between Datastage 7.5 and 7.0?
for example You have One Table with 4 Columns (Mgr ID, Department ID, Salary, Employee ID). Can you find out the Average Salary and Number of Employee present per Department and Mgr
Differentiate between validated and Compiled in the Datastage?
How do you start developing a datastage project?
Can you implement SCD2 using join, transformer and funnel stage?
Describe stream connector?
Is it possible to implement parallelism in Mainframe Jobs ? If Yes how ? If no why ?
what are .ctl(control files) files ? how the dataset stage have better performance by this files?
How to find value from a column in a dataset?
Name the different types of Lookups in Datastage?
What is use Array size in datastage
What are stage variables and constants?
What is difference between server jobs & parallel jobs?