题解 | #牛客的课程订单分析(二)#

牛客的课程订单分析(二)

https://www.nowcoder.com/practice/4ca4137cb490420cad06d2147ae67456

select a.user_id from (
    select * from order_info
    where date > '2025-10-15' and status = 'completed' and product_name in ('C++', 'Python','Java')
) a group by a.user_id
having count(*) >= 2
order by a.user_id;

全部评论

相关推荐

点赞 收藏 评论
分享
牛客网
牛客企业服务