Hi All,
I have a database table like:
Supplier Product
Company A A,B,C,D
Company B B,D,G
Company C G,A
Company D A,F,B,C
...... .........(unlimited rows)
Now I want to list down all the values in Product separated by comma.
Expected result:
Product
A
B
C
D
G
F
......
Please help how to do it. I know there is a loop needed. But how to do? Very anxious about that, because it is my final year project..
Thank you very much...
I have a database table like:
Supplier Product
Company A A,B,C,D
Company B B,D,G
Company C G,A
Company D A,F,B,C
...... .........(unlimited rows)
Now I want to list down all the values in Product separated by comma.
Expected result:
Product
A
B
C
D
G
F
......
Please help how to do it. I know there is a loop needed. But how to do? Very anxious about that, because it is my final year project..
Thank you very much...
