Erreur fatale : SQLSTATE[HY000]: General error: 1 near ",": syntax error ligne 33 (/home/chdznra/www/site/app/connexion.php)
select
I.CodeID as CodeID,
I.Prenoms as Prenoms,
I.PrenomsUCD as PrenomsUCD,
I.Sexe as Sexe,
I.XrefPere as XrefPere,
I.XrefMere as XrefMere,
I.NombreUnions as NombreUnions,
NT.Note as NoteIndiv
from Individus I
join Noms N on I.XrefNom = N.CodeID
left join Notes NT on NT.CodeID = I.XrefNote
where N.CodeID = 16851
and I.Confidentiel < 1 and I.CodeID in (,4870,4869,5192,5193,6313,6314,6323,6324,4762,4764,4772,4773,4774,4774,4775,4776,4880,4880,4881,4881,5179,5189,6331,6332,6332,6333,6334,6335,6336,6337,6338,4766,4772,5189,282049,282049,4775,4774,4762,4773,4764,5179,4880,4880,6332,6332,6337,6336,4881,4881,6334,6333,6335,6338,6331)