select day(date) as day , count(qpd.question_id) as question_cnt from question_practice_detail qpd where MONTH(`date`)= 8 group by `date`