Last updated
Was this helpful?
Last updated
Was this helpful?
https://leetcode.com/problems/customers-who-bought-all-products
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: