A Database Error Occurred

Error Number: 1055

Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'medtrave_travel-med-India.sanjeevani_cp_accounts.country' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

SELECT `sanjeevani_cp_accounts`.`country`, `sanjeevani_states`.* FROM `sanjeevani_states` LEFT JOIN `sanjeevani_cp_accounts` ON `sanjeevani_states`.`id`=`sanjeevani_cp_accounts`.`state` WHERE `sanjeevani_states`.`country_id` = '' AND `sanjeevani_cp_accounts`.`state` != '' GROUP BY `sanjeevani_cp_accounts`.`state`

Filename: models/Usermodel.php

Line Number: 444