题目链接:点击打开链接
题目大意:略。
解题思路:略。
AC 代码
SELECT extra report_reason, COUNT(DISTINCT post_id) report_count
FROM Actions
WHERE extra IS NOT NULL AND action_date = '2019-07-04' AND action = 'report'
GROUP BY extra
微信扫一扫
题目链接:点击打开链接
题目大意:略。
解题思路:略。
AC 代码
SELECT extra report_reason, COUNT(DISTINCT post_id) report_count
FROM Actions
WHERE extra IS NOT NULL AND action_date = '2019-07-04' AND action = 'report'
GROUP BY extra
相关推荐