Hi,
I got struck, help me on this.
I have a table Empldata (EMP_ID is in character format and Interest is in Numeric Format)
EMP_ID Interest
101 .2
202 .4
303 .7
404 .1
I have Another Table EMPL_Hierarachy (all columns are in Character format)
L1_ID(Empl ID) L2_ID (Reporting Manager ID) L3_ID (Senior Manager ID) L4_ID (Head of All Empls)
101 202 303 404
I need I output table like below
EMP_ID Interest L1_ID L2_ID L3_ID L4_ID
101 .2 101 202 303 404
202 .4 202 303 404
303 .7 303 404
404 .1 404
OR
EMP_ID Interest L1_ID L2_ID L3_ID L4_ID
101 .2 101 202 303 404
202 .4 202
303 .7 303
404 .1 404
Please can some body help me on this.
Thanks in Adavance
Teja