I have a table which has a column with values which are separated by commas.
For example the Column has following values:
index Column
1 X,Y,Z,A,B,C,D,E,F,G,H,I,J,K,L,M,T,W,O
2 Y,Z,G,H,I,J,K,L,M,T,E,W,O
3 X,Y,Z,F,G,H,I,L,M,T,W,O,A,B,C,D,E,J,K
4 A,Z,B,X,Y
5 X,Y,A,Z,B
I want to print data of the Column which has X,Y,Z,A,B,C,D,E,F,G,H,I,J,K,L,M,T,W,O only so that can be index number 1 as well as 3 as they have the same values just in different order. Cant search for all values manually because if the requirement to search the query changes to say X,Y,A,Z,B only then it has to be index number 4 and 5. How do I do that?. Thanks!