Beat 97% ✅👉| Simple MySQL | Group by, Having, Distinct
Code\n\nselect customer_id from customer\ngroup by customer_id\nhaving count( distinct product_key) >= \n            (select count(product_key) from product)\n
# Code\n```\nselect customer_id from customer\ngroup by customer_id\nhaving count( distinct product_key) >= \n            (select count(product_key) from product)\n```
['MySQL']