ONLY_FULL_GROUP_BY
时间: 2023-08-15 07:09:35 浏览: 95
解决MySQL 5.7.9版本sql_mode=only_full_group_by问题
ONLY_FULL_GROUP_BY是MySQL中的一个SQL_MODE,它的作用是强制对GROUP BY子句中的每个非聚合列进行聚合或使用聚合函数。当开启ONLY_FULL_GROUP_BY时,如果在SELECT列表中存在非聚合列,那么就会报错。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [ONLY_FULL_GROUP_BY超详细解决方案](https://blog.csdn.net/weixin_46553523/article/details/121807006)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [MySql报错only_full_group_by的解决办法](https://blog.csdn.net/qq_44147882/article/details/123528828)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文