按照name_id分组select购买的商品数量作为临时表,然后再求用户总数,和用case when求出购买商品数量大于2的用户数,round一下就行
点赞 评论

相关推荐

牛客网
牛客企业服务