There is my request to find actualities on my website, I got error in this request and I don't know what i need to do for solve this error
Error:
Column "quote_plus_normal_gr_publi.id_post_normal" must appear in the GROUP BY clause or be used in an aggregate fun
Query:
SELECT
publi.date, publi.mess, publi, publi.profil, publi.color,
publi.name, publi.search
FROM
publi
INNER JOIN
(SELECT
id_post_normal, COUNT(id_post_normal)
FROM
quote_plus_normal_gr_publi
ORDER BY
id_post_normal) q ON q.id_post_normal = publi.id_post_normal
WHERE
publi.id_personnes = 1
ORDER BY
date DESC