题解 | #计算用户8月每天的练题数量#
计算用户8月每天的练题数量
http://www.nowcoder.com/practice/847373e2fe8d47b4a2c294bdb5bda8b6
select date_format(date,"%d") as day,
count(question_id) as question_cnt
from question_practice_detail
where date_format(date,"%Y-%m")='2021-08'
group by day
count(question_id) as question_cnt
from question_practice_detail
where date_format(date,"%Y-%m")='2021-08'
group by day