select
user_id
from order_info
where datediff(date,'2025-10-15')>0
and status='completed'
and product_name in ('C++','Java','Python')
group by user_id
having count(id)>=2
order by user_id asc
select
user_id
from order_info
where datediff(date,'2025-10-15')>0
and status='completed'
and product_name in ('C++','Java','Python')
group by user_id
having count(id)>=2
order by user_id asc