1045. Customers Who Bought All Products
https://leetcode.com/problems/customers-who-bought-all-products
Description
Table: Customer
Table: Product
Write an SQL query for a report that provides the customer ids from the Customer
table that bought all the products in the Product
table.
Return the result table in any order.
The query result format is in the following example:
ac
Last updated
Was this helpful?