DEV Community

Ashwani Singh
Ashwani Singh

Posted on

Let’s solve the error of GROUP BY clause and contains nonaggregated column in MySQL

Image description



SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));


Enter fullscreen mode Exit fullscreen mode

Top comments (0)