select * from tb t where (select count(distinct 商品名称) from tb where 购物人=t. 购物人)>=2
select * from tb where name in(select name from tb group by 购物人,商品名称 having count(1)>1)
22,207
社区成员
121,730
社区内容
加载中
试试用AI创作助手写篇文章吧