select d.id, d.is_group_buy, c.name as client_namefrom order_info d left join client c on d.client_id = c.id, (select o.user_idfrom order_info owhere o.date >= '2025-10-15' and o.product_name in ('Python','C++','Java') and o.status = 'completed'group by o.user_idhaving count(o.id) >=2order by ...