题目链接:点击打开链接
题目大意:略。
解题思路:略。
AC 代码
SELECT date_id, make_name, COUNT(DISTINCT lead_id) unique_leads, COUNT(DISTINCT partner_id) unique_partners FROM DailySales GROUP BY date_id, make_name
题目链接:点击打开链接
题目大意:略。
解题思路:略。
AC 代码
SELECT date_id, make_name, COUNT(DISTINCT lead_id) unique_leads, COUNT(DISTINCT partner_id) unique_partners FROM DailySales GROUP BY date_id, make_name