SELECT COUNT(DISTINCT device_id) AS did_cnt,COUNT(device_id) AS question_cnt
FROM question_practice_detail
WHERE YEAR(date)=2021 AND MONTH(date)=8
SELECT COUNT(DISTINCT device_id) AS did_cnt,COUNT(device_id) AS question_cnt
FROM question_practice_detail
WHERE YEAR(date)=2021 AND MONTH(date)=8