题解 | #分组过滤练习题#
计算用户8月每天的练题数量
http://www.nowcoder.com/practice/847373e2fe8d47b4a2c294bdb5bda8b6
SELECT
day(date) day
,count(question_id) question_cnt
from question_practice_detail
where month(date)=8
day(date) day
,count(question_id) question_cnt
from question_practice_detail
where month(date)=8
group by DATE