select id,user_id,product_name,status,client_id,date from ( select *, count(status) over(partition by user_id) cnt from order_info where date>'2025-10-15' and status='completed' and product_name in ('C++','Java','Python') ) t where cnt>=2 order by id