select
    count(distinct(device_id))
    ,count(question_id)
from  question_practice_detail
where left(date,7)='2021-08'