I am a complete novice (introduced to the world of DataStage, rather ETL just a couple of months ago). I am stuck on a problem and will be glad if any of you could help me out with it.
I have 4 tables and I want to perform a join on them in the following manner
select a.<column list>, b.<column list> from
(select P.x, Q.y from P,Q where P.x = Q.y) a,
(select R.z, S.w from R,S where R.z = S.w) b
where a.x = b.z
I was trying to implement this as
Code: Select all
Orcl ---->Transformer1 --------------->
Orcl----->
TRANSFORMER 3--------> Orcl
Orcl----->Transformer2---------------->
Orcl----->
Can anyone help me out ?
PS: The query that I require is not as simple as above. It involves much more joins. But I figured I'll be able to get it done once I get my concepts right.
PPS: In case the diagram is not clear: The o/p of Transformer 1 and 2 goes in as i/p to Transformer 3.
Regards