I have a table that with 1 column that I need to create a dynamic list of combinations 3 wide.
Table:
letters
-------
a
b
c
d
e
need to output:
abc,abd,abe,acd,ace,ade,bcd,bce,cde
I can only have a unique combination, so no matter the order the combination cannot be used again. This needs to be dynamic so that if i add a letter to the list the combinations get output with all the possible combinations.
Right now I am just focusing on 3-letter combinations only no matter how long the list.
Thanks in advance
Table:
letters
-------
a
b
c
d
e
need to output:
abc,abd,abe,acd,ace,ade,bcd,bce,cde
I can only have a unique combination, so no matter the order the combination cannot be used again. This needs to be dynamic so that if i add a letter to the list the combinations get output with all the possible combinations.
Right now I am just focusing on 3-letter combinations only no matter how long the list.
Thanks in advance