I have a table A with 2 columns
table A :
id Name
1 A
2 B
3 CC
4 D
I need a SQL or pl/sql to return all possible combination like this
A
A,B
A,CCC
B,CCC
A,B,CCC
A,B,D
A,CCC,D
B,CCC,D
A,B,CCC,D
< I hope I did not miss any combination....>
I that possible?