Group by day to count the number of messages and the number of mac deduplication

select DATE_FORMAT(created,'%Y%m%d') date, count(*) number of messages, count(distinct mac) number of independent users from event where event_id='download_app' group by date;  

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325646245&siteId=291194637