Which stage(stages) to use
Posted: Wed Dec 06, 2006 5:55 pm
Hi,
Can any body help me here .
I have the data in the table like below.
Key1 Key2 code(Key3) status
A 1 X IN
A 1 Y IN
A 1 Z OUT
B 2 M IN
B 2 N IN
B 2 O OUT
How can I get the results like below.
col1 col2 col3(all codes seperated by comma) col4(codes where status = IN)
A 1 X,Y,Z X,Y
B 2 M,N,O M,N
what stage( or stages ) should I have to use to accomplish this
Thank You,
Nash
Can any body help me here .
I have the data in the table like below.
Key1 Key2 code(Key3) status
A 1 X IN
A 1 Y IN
A 1 Z OUT
B 2 M IN
B 2 N IN
B 2 O OUT
How can I get the results like below.
col1 col2 col3(all codes seperated by comma) col4(codes where status = IN)
A 1 X,Y,Z X,Y
B 2 M,N,O M,N
what stage( or stages ) should I have to use to accomplish this
Thank You,
Nash