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

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

http://www.nowcoder.com/practice/4ae8cff2505f4d7cb68fb0ec7cf80c57

干就完了 select * from order_info where user_id in (SELECT user_id FROM order_info WHERE DATE_FORMAT(date,'%Y-%m-%d') >'2025-10-15' and product_name in('C++','Java','Python') and status = 'completed' group by user_id HAVING COUNT(product_name) >= 2 ) and status = 'completed' and DATE_FORMAT(date,'%Y-%m-%d') >'2025-10-15' and product_name in('C++','Java','Python') order by id

全部评论

相关推荐

头像
08-28 09:05
门头沟学院
投递美团等公司10个岗位
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务