select COUNT(distinct device_id) as did_cnt,COUNT(question_id) as question_cnt
FROM question_practice_detail
where month(date)=8;