#直接窗口函数就可以 # select id,user_id,product_name, status, client_id, date # from # ( # select *, # count(user_id)over(partition by user_id) count # from order_info # where date >= '2025-10-15' # and status = 'completed' # and product_name in ('C++','Java','Python') # ) b # where count >= 2 # order...