Asume I have a table like this:
From To amount A B 44 A C 123 B C 32 B A 904 C A 6 C B 17
And would like to have the