I have a table
Column 1 Column 2
A B
B C
C D
C E
Now I want the output like below (All possible routes from A to end point like A-B-C-D, A-B-C-E)
Column 1
A
B
C
D
A
B
C
E