Hi,
I need help in building following logic:
Existing dataset:
Col1 Col2 Col3 Col4 Col5 Col6
A 1 0 0 0 0
A 0 1 0 0 0
A 0 0 1 0 1
A 0 0 0 1 0
A 0 0 0 0 1
B 0 1 0 0 0
B 1 0 0 0 0
Needed dataset:
Col1 Col2 Col3 Col4 Col5 Col6
A 1 1 1 1 1
B 1 1 0 0 0
I need to convert multiple records to to a single row per value of A, B,.....
Any thoughts will be helpful!!!
Thanks