数据库升级到5.7.21后,一个正常的分组后按日期排序,并返回数据的语句开始报错: 语句如下: SELECT id,title,add_time FROM `message` GROUP BY add_time ORDER BY add_time DESC; 异常如下: 错误代码: 1055 Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'miniodb.nhb_m…