--使用连接的方法select c.customer_id, customer_name
from customers c leftjoin orders o
on c.customer_id = o.customer_id
groupby c.customer_id
havingsum(product_name
14.购买了产品A和产品B却没有购买产品C的顾客链接:https://leetcode-cn.com/problems/customers-who-bought-products-a-and-b-but-not-c/--使用连接的方法select c.customer_id, customer_name from customers c left join orders oon c.customer_id = o.customer_idgroup by c.customer_idhav