select customer_id,count(order_id) as total_orders, sum(amount) as total_spend from orders group by customer_id having count(order_id) >=3 select name, price, case ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results