文章 2023-11-14 来自:开发者社区

解决which is not functionally dependent on columns in GROUP BY clause;...sql_mode=only_full_group_by

问题产生原因:数据库设置了only_full_group_by模式解决方案:首先select的内容必须有order by 和group by的字段使用any_value举例:select id,name,sex from t_person group by create_time order by age需要把create_time、age,放到select的字段里,因为名字可能对应多个,...

阿里云文档 2022-09-27

QuickBI仪表板图表报错whichisnotfunctionallydependentoncolumnsinGROUPBYclause;thisisincompatiblewithsql_mode=only_full_group_by\"

问题描述Quick BI仪表板图表报错“... which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by"。问题原因...

问答 2022-04-15 来自:开发者社区

in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

[Err] 1055 - Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'xxx.xxx.id' which is not functionally dependent on columns in GROUP BY clause; this is incompati....

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。

产品推荐

数据库

分享数据库前沿,解构实战干货,推动数据库技术变革

+关注