这个SQL查询语句的意思是:从名为log_iMonkey_iOS_overview的表中选取AppIdentifier和Ds列,对AppIdentifier进行分组并选取最小的Ds值,并将结果作为子查询,然后统计在昨天(subtractDays(toDate(now()), 1))使用过的AppIdentifier的数量,其中每个AppIdentifier只计算一次(DISTINCT关键字)。

select countDISTINCT AppIdentifier from select AppIdentifier minDs as Dsfrom log_iMonkey_iOS_overview GROUP BY AppIdentifierwhere toDateDs = subtractDaystoDatenow 1什么意思

原文地址: https://www.cveoy.top/t/topic/gZ20 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录