select user_id,min(date) as first_buy_date,count(user_id) as cnt
from order_info
where date >"2025-10-15"
and status ="completed"
and product_name in ("C++","Java","Python")
group by user_id
having count(user_id)>1
order by user_id;
题目解答select user_id,min(date) as first_buy_date,count(user_id) as cntfrom order_infowhere date > "2025-10-15"and status = "completed"and product_name in ("C++","Java","Python")group by user_idhaving count(user_id) > 1order by user_id;...