[SQL문제풀기] Customers Who Bought All Products

silver's avatar
Nov 04, 2025
[SQL문제풀기] Customers Who Bought All Products
Contents
문제MySQL

문제

MySQL

내가 작성한 정답

select customer_id from Customer group by customer_id having count(distinct product_key) = (select count(distinct product_key) from Product);
Share article

silver