原文:Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggre

错内容Expression of SELECT list is not in GROUP BY clause and contains nonaggre 原因分析mysql . 默认启用ONLY FULL GROUP BY特性,即:对于GROUP BY聚合操作,如果在SELECT中的列,没有在GROUP BY中出现,那么这个SQL是不合法的,因为列不在GROUP BY从句中, 也就是说查出来的列必 ...

2022-03-09 14:43 0 1396 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM