思路:
限制条件:
第一条:date > '2025-10-15'
第二条: product_name in('C++','Java','Python')
第三条: status = 'completed'
需要 user_id 分组 并且 count(user_id) >=2
排序: order by user_id;
select user_id from order_info
where date > '2025-10-15'
and product_name in('C++','Java','Python')
and status = 'completed'
group by (user_id) having count(user_id) >=2
order by user_id