關于GROUP BY的問題
ERROR 1055 (42000): Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'tdb_goods.tdb_goods.goods_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
為什么不能用goods_name 分類呢
2016-11-25
錯誤1055(42000):表達# 1選擇列表不在GROUP BY子句包含非聚集列“tdb_goods。tdb_goods。goods_id '這是沒有功能依賴于列在GROUP BY子句;這是sql_mode = only_full_group_by不相容
2017-04-12
You can try to disable the?only_full_group_by?setting by executing the following:
http://stackoverflow.com/questions/34115174/error-related-to-only-full-group-by-when-executing-a-query-in-mysql