select cust_id from Orders t2 join OrderItems t1 on t1.order_num = t2.order_num group by cust_id having sum(item_price) >= 10 order by cust_id
select cust_id from Orders t2 join OrderItems t1 on t1.order_num = t2.order_num group by cust_id having sum(item_price) >= 10 order by cust_id