题解 | #计算用户8月每天的练题数量#
计算用户8月每天的练题数量
https://www.nowcoder.com/practice/847373e2fe8d47b4a2c294bdb5bda8b6
SELECT DAY(date) AS day,COUNT(question_id) AS question_cnt FROM question_practice_detail WHERE YEAR(date)=2021 AND MONTH(date)=8 GROUP BY day;
计算用户8月每天的练题数量
https://www.nowcoder.com/practice/847373e2fe8d47b4a2c294bdb5bda8b6
SELECT DAY(date) AS day,COUNT(question_id) AS question_cnt FROM question_practice_detail WHERE YEAR(date)=2021 AND MONTH(date)=8 GROUP BY day;
相关推荐