A Database Error Occurred

Error Number: 1055

Expression #9 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'dkksuko_dinkes_dkk_suk.b.opt_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

SELECT a.*, b.*, SUM(b.opt_hits) AS total_hits FROM tbl_poll_quest a, tbl_poll_option b WHERE a.quest_id = 1 AND a.quest_id = b.quest_id GROUP BY a.quest_id

Filename: /home/dkksuko/public_html/modules/widget/models/widget_model.php

Line Number: 69