且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Column \'表名.某列名\' is invalid in the select list because it is not contained in either an aggregate f

更新时间:2022-08-16 11:23:18

汉语:这个错误是提示'表名.某列名' 字段不在GROUP BY中
解决方案:group by 后面是要跟着的 select 中所有不是聚合函数的字段