要求:在2025-10-15以后,如果有一个用户下单2个以及2个以上状态为购买成功的C++课程或Java课程或Python课程,那么输出这个用户的user_id,以及满足前面条件的第一次购买成功的C++课程或Java课程或Python课程的日期first_buy_date!
select user_id, min(date) as first_buy_date, count(user_id) as cnt from order_info where date > '2025-10-15' and status = 'completed' and product_name in ('C++','Python','Java') group by user_id having count(user_id) > 1 order by user_id;