SELECT DISTINCT a.ID,b.ID FROM Transactions as a,Transactions as b where a.ID = b.ID