Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'mysql.s.order_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
SELECT列表的表达式#1不在groupby子句中,并且包含非聚合列的mysql.s。order_id'在功能上不依赖于GROUP BY子句中的列;这与sql_mode=only_full_group_by不兼容
如何解决?
group by 一下就好了
忍不了还是改了