mysql套中套,挺突然的解法:select s.user_id,t.yy,t.gg from order_info s,(select user_id,min(date) yy,count(*) gg from order_infowhere product_name in ('C++','Java','Python')and date>'2025-10-15' and status = 'completed'group by user_id) twhere s.user_id = t.user_idand product_name in ('C++','Java','Python')...