有人可以帮我处理这个 SQL,因为我看到错误消息为未知列,我知道该列在那里?
SELECT
statut.*,
clien_1.Id, clien_1.mail, clien_1.nom, clien_1.prenom,
image_profil_1.image,
statut_comments.*,
clien_2.Id, clien_2.mail, clien_2.nom, clien_2.prenom,
image_profil_2.image
FROM
statut
INNER JOIN
clien AS clien_1 ON statut.client_from = clien_1.Id
INNER JOIN
clien AS clien_2 ON statut_comments.id_client = clien_2.Id
INNER JOIN
statut_comments ON statut_comments.comment_id = statut.id
INNER JOIN
image_profil AS image_profil_1 ON image_profil_1.mail = clien_1.Id
INNER JOIN
image_profil AS image_profil_2 ON image_profil_2.mail = clients_2.Id