SELECT CrashIdentifier, PlatformType, CrashContent2, COUNT(*) AS num FROM ( SELECT CrashIdentifier, PlatformType, CrashContent2 FROM ( SELECT CrashIdentifier, PlatformType, CrashContent2, MIN(Ds) AS Ds FROM log_iMonkey_Wechat_overview GROUP BY CrashIdentifier, PlatformType, CrashContent2 ) t1 WHERE toDate(Ds) >= subtractDays(toDate(now()), 1) AND toDate(Ds) < toDate(now()) ) GROUP BY CrashIdentifier, PlatformType, CrashContent2 ORDER BY PlatformType DESC;

SELECT CrashIdentifierPlatformTypeCrashContent2FROM select CrashIdentifierPlatformTypeCrashContent2 from select CrashIdentifierPlatformTypeCrashContent2 minDs as Ds from log_iMonkey

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

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