SQL查询语法分析:SELECT toStartOfDay(toDateTime(Ds)) AS datetime_day_Ds, PlatformType, GREATEST(count(DISTINCT UrlContent2) FILTER (WHERE PlatformType in (4) AND UrlContent2 != ''), max(MergedUrlCount) FILTER (WHERE PlatformType in (3,4)), max(MergedViewCount) FILTER (WHERE PlatformType not in (3,4))) AS index_mergedviewcount
是的,给定的SQL查询语法是正确的。
原文地址: https://www.cveoy.top/t/topic/qmST 著作权归作者所有。请勿转载和采集!