Error Number: 1055
Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'consulme_site.profissionais.cd_profissional' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
SELECT * FROM (`profissionais`) WHERE `id_status` = 'A' AND `cd_empresa` = 1 AND `id_pertence` = 'C' GROUP BY `ds_area` ORDER BY `ds_area` ASC
Filename: /home/consulmed/public_html/models/profissionais_model.php
Line Number: 122