select * from 表1,表2;
select distinct a.BuyerID, a.WareName from Sales a join Sales b on a.BuyerID = b.BuyerID and a.SaleID != b.SaleID