with t1 as ( select user_id, product_name from order_info where date > '2025-10-15' and status = 'completed' and product_name in ('C++', 'Python', 'Java') ) select user_id from t1 group by user_id having count(product_name) >= 2 order by user_id;
with t1 as ( select user_id, product_name from order_info where date > '2025-10-15' and status = 'completed' and product_name in ('C++', 'Python', 'Java') ) select user_id from t1 group by user_id having count(product_name) >= 2 order by user_id;