i get this error when trying to run a query :
#1055 - Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'test.tr_dashboard.nama' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
---
problem :
your GROUP BY
solution :
run this query :
1) SET sql_mode = '';
2) SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
---
see this video for details. :)