摘要: 使用group by分组时,查询字段没有分组的字段就会报错 [Err] 1055 - Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'test.user.id' whi 阅读全文
posted @ 2022-10-21 15:01 Amy清风 阅读(2700) 评论(0) 推荐(0) 编辑
摘要: mysql5.7使用group by分组时,查询字段没有分组的字段就会报错 [Err] 1055 - Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'test.user 阅读全文
posted @ 2022-10-21 14:27 Amy清风 阅读(52) 评论(0) 推荐(0) 编辑