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
牛客网
牛客网在线编程
牛客网题解
牛客企业服务