mysql8.0版本提示不能分组
解决方案:
set @@sql_mode=‘STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION’;
Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column ‘crm.scve.
最新推荐文章于 2024-11-03 09:30:00 发布
本文介绍了在MySQL8.0中遇到分组错误时,通过设置sql_mode参数为STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION来解决问题的方法。
摘要由CSDN通过智能技术生成