select buyer_id,count(order_id),sum(order_item_amount) from order_detail where order_detail >1000 group by buyer_I'd having count(order_item_amount) > 3 order by sum(order_id) desc limit 3
点赞 1

相关推荐

不愿透露姓名的神秘牛友
12-16 15:57
小鹏汽车 java后端 22*15(固定13,2个月年终) 硕士211
点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务