题目链接:点击打开链接
题目大意:略。
解题思路:略。
AC 代码
SELECT customer_id FROM (SELECT customer_id, total FROM Customer, (SELECT COUNT(*) total FROM Product) p GROUP BY customer_id HAVING COUNT(DISTINCT product_key) = total) RS
题目链接:点击打开链接
题目大意:略。
解题思路:略。
AC 代码
SELECT customer_id FROM (SELECT customer_id, total FROM Customer, (SELECT COUNT(*) total FROM Product) p GROUP BY customer_id HAVING COUNT(DISTINCT product_key) = total) RS