laravel 5.3 groupBy使用报错isn't in GROUP BY

使用的ubuntu,本地配置的apache环境,laravel 5.3使用groupBy报错

    `$list   = \DB::table('game_answer_record')->groupBy('uid')->select(\DB::raw('id, quality, uid'))->get();`

报的错误如下 :
`QueryException in Connection.php line 770:
SQLSTATE[42000]: Syntax error or access violation: 1055 'ezhenduan2.app_game_answer_record.id' isn't in GROUP BY (SQL: select id, quality, uid from app_game_answer_record group by uid)`
sql语句在mysql中执行正常

JellyBool
修改的评论也不能少于六个字哦!
Rayle0801
修改的评论也不能少于六个字哦!
JellyBool
修改的评论也不能少于六个字哦!
Rayle0801 回复 JellyBool
修改的评论也不能少于六个字哦!