Error Number: 1055
Expression #5 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'liv3Dr4w.k.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
SELECT `p`.*, `k`.* FROM `pasaran` as `p` JOIN `keluaran` as `k` ON `p`.`id` = `k`.`pasaran` LEFT JOIN `keluaran` as `k2` ON `k`.`pasaran` = `k2`.`pasaran` AND `k`.`id` < `k2`.`id` WHERE k2.id IS NULL GROUP BY `k`.`pasaran` ORDER BY `p`.`posisi` ASC
Filename: models/Publ.php
Line Number: 168