使用函数的列 group by 分组需要别名 问题描述 使用如下截图的SQL统计数据,报1105错误,提示all columns in group by clause should be in the selected column. 给格式化 的时间列加个别名,问题解决。