Skip to content

Commit

Permalink
Time: 1336 ms (19.15%) | Memory: 0B (100.00%) - LeetSync
Browse files Browse the repository at this point in the history
  • Loading branch information
ata-turhan committed Feb 20, 2025
1 parent cc934af commit 6a5b6dc
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
SELECT c.customer_id
FROM customer AS c
GROUP BY c.customer_id
HAVING COUNT(DISTINCT c.product_key) = (
SELECT COUNT(DISTINCT p.product_key) FROM product AS p
);

0 comments on commit 6a5b6dc

Please sign in to comment.