A Database Error Occurred

Error Number: 1055

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

SELECT * FROM `company_details` WHERE `status` = '1' GROUP BY `company_name` ORDER BY `company_details`.`created_on` DESC LIMIT 10

Filename: models/Company_model.php

Line Number: 77