Ini tidak kompatibel dengan sql_mode = hanya_full_group_by
mysql > SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
GutoTrosla
mysql > SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
Solution 1: Remove ONLY_FULL_GROUP_BY from mysql console
mysql > SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
Solution 2: Remove ONLY_FULL_GROUP_BY from phpmyadmin
1. Open phpmyadmin & select localhost
2. Click on menu Variables & scroll down for sql mode
3. Click on edit button to change the values & remove ONLY_FULL_GROUP_BY & click on save.
mysql > SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));