i just want a solution to categorize a row and put it in two different group , is there any solution ?!
for example i have a list like below :
Id - Color
--------------------------------------------------------------
1 - blue , red
2 - red
3 - blue , green
and want to group by color and have a output list like below :
group : red
--------------------------------------------------------------
1 - blue , red
2 - red
group : blue
--------------------------------------------------------------
1 - blue , red
3 - blue , green
group : green
--------------------------------------------------------------
3 - blue , green
for example i have a list like below :
Id - Color
--------------------------------------------------------------
1 - blue , red
2 - red
3 - blue , green
and want to group by color and have a output list like below :
group : red
--------------------------------------------------------------
1 - blue , red
2 - red
group : blue
--------------------------------------------------------------
1 - blue , red
3 - blue , green
group : green
--------------------------------------------------------------
3 - blue , green