问题描述
当运行带GROUP BY子句的sql语句时,会出现如下错误:ERROR 1055 (42000): Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'commodity.a.xsjg' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_byERR