MySQL 5.7 group by 问题
最近在使用 MySQL 碰到一个问题: ERROR 1055 (42000): Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'test.post.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by 查了下,是因为 MySQL 5.7 默认开启 only_full_group_by 的原因,可以使用 ...