标题: which is not functionally dependent on columns in GROUP BY clause; th [打印本页] 作者: 火影 时间: 2024-8-13 06:31 标题: which is not functionally dependent on columns in GROUP BY clause; th 问题描述
查询MySql表中的数据时遇到这样一个报错:
Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'axhyh-xs-local.apply.PATIENT_NAME' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
报错如图: