简介
select id, user_id, product_name, status, client_id, date from
(
select id, user_id, product_name, status, client_id, date, count(1) over (partition by user_id) as num
from order_info
where product_name in ('C++', 'Python', 'Java')
and status = 'completed' and date > '2025-10-15'
) as b
where b.num >= 2
order by id;
---------------------------我的天空里没有太阳,总是黑夜,但并不暗,因为有东西代替了太阳。虽然没有太阳那么明亮,但对我来说已经足够。凭借着这份光,我便能把黑夜当成白天。我从来就没有太阳,所以不怕失去。
--------《白夜行》