SELECT list is not in GROUP BY clause and contains nonaggregated column 'mdm_data.b.sku_description' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
1、 查看全局sql_model
SELECT @@sql_mode

2、替换
SET GLOBAL sql_mode = 'STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';
3、关闭mysql链接重新打开

处理完成

3360

被折叠的 条评论
为什么被折叠?



