{"title":"SELECT PlatformType, crash_uuid, COUNT(crash_uuid)\nFROM (\n SELECT log_iOS_crash.crash_uuid, log_iMonkey_Wechat_overview.PlatformType\n FROM log_iOS_crash\n GLOBAL JOIN log_iMonkey_Wechat_overview ON log_iOS_crash.crash_uuid = log_iMonkey_Wechat_overview.CrashIdentifier\n WHERE log_iOS_crash.crash_uuid GLOBAL IN (\n SELECT DISTINCT CrashIdentifier\n FROM log_iMonkey_Wechat_overview\n WHERE Debug = 1 AND PlatformType != 0 AND CrashIdentifier != '' AND\n Ds >= toDateTime(#wechat_crash_level_time.start#)\n AND Ds <= toDateTime(#wechat_crash_level_time.end#)\n GROUP BY PlatformType, CrashIdentifier\n )\n) AS combined_table\nGROUP BY PlatformType,crash_uuid\nORDER BY COUNT(crash_uuid) DESC\n其中SELECT DISTINCT CrashIdentifier\n FROM log_iMonkey_Wechat_overview\n WHERE Debug = 1 AND PlatformType != 0 AND CrashIdentifier != '' AND\n Ds >= toDateTime(#wechat_crash_level_time.start#)\n AND Ds <= toDateTime(#wechat_crash_level_time.end#)\n GROUP BY PlatformType, CrashIdentifier\n只查出来了PlatformType=3 的数据,为什么最后会有PlatformType=5 的数据内容:根据给出的查询语句,最后会有PlatformType=5的数据是因为在子查询中,只选择了PlatformType不等于0的数据。所以在最后的结果中,除了PlatformType=3的数据,也会包括其他PlatformType的数据,例如PlatformType=5的数据。"}