赞
踩
执行Sql的时候,出现如下问题
1055 - Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated
column 'easy-admin.students.age' which is not functionally dependent on columns in GROUP BY clause;
this is incompatible with sql_mode=only_full_group_by
截图如下:
单纯抛开这个语句,通用的分析此Bug
这个错误是因为 MySQL 的 sql_mode 设置了 only_full_group_by
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。