I have the following table in SQL Server:
Name1 Name2 Amount
Larry George 1
Larry Michael 1
Michael George 1
Michael Larry 1
Larry George 1
George Larry 1
It would be great if someone could provide me a script for getting the following result (which is the first name does not matter e.g. Larry / George = George / Larry):
Name_combination Amount
Larry / George 3
Larry / Michael 2
Michael / George 1
Many thanks in advance