select
    day(date)   as day,
    count(question_id)   as question_cnt
from question_practice_detail
where month(date) = '8'
group by day