A Database Error Occurred

Error Number: 1055

Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'eatlapps_newdb.a.Code' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

SELECT DISTINCT `a`.`Code`, `a`.`C_id`, `a`.`Name`, `a`.`developerID`, `a`.`Price`, `a`.`Description`, `a`.`directory`, `a`.`logo`, `r`.`Rating`, `r`.`Review` FROM (`application` a) LEFT JOIN `customer_review` r ON `r`.`A_id` = `a`.`code` WHERE `a`.`status` = 1 AND `P_id` <>201486 GROUP BY `A_id` ORDER BY `r`.`Rating` desc LIMIT 4

Filename: /home/eatlappscp/public_html/models/apps_new_model.php

Line Number: 933