题解 | 返回购买价格为 10 美元或以上产品的顾客列表
返回购买价格为 10 美元或以上产品的顾客列表
https://www.nowcoder.com/practice/827eb2a210c64ccdb8ec28fe4c50c246
select cust_id from OrderItems o1 join Orders o2 on o1.order_num = o2.order_num group by cust_id having sum(item_price) >= 10
不是子查询也可以做
