select 
day(date),
count(id)
from question_practice_detail
where
date_format(date,"%Y%m")=202108
group by date