SQL 查询语句优化: 缺少右括号错误
SELECT toStartOfDay(toDateTime(Ds)) AS datetime_day_Ds, PlatformType AS PlatformType, sum(TotalDeviceTime) AS index_totaldevicetime_0 FROM log_iMonkey_Wechat_overview WHERE ( Ds >= toDateTime(#day_wechat_total_hours_time.start#) AND Ds <= toDateTime(#day_wechat_total_hours_time.end#) ) GROUP BY datetime_day_Ds, PlatformType ORDER BY datetime_day_Ds DESC, PlatformType DESC LIMIT 5000;
原文地址: https://www.cveoy.top/t/topic/pxgs 著作权归作者所有。请勿转载和采集!