文章目录 题目代码(7.21 首刷自解) 题目 Leetcode 1045. 买下所有产品的客户 代码(7.21 首刷自解) # Write your MySQL query statement below select customer_id from Customer, Product group by customer_id having count(distinct Customer.product_key) = (select count(1) from Product);