Personnes s'appelant LEMAIRE

Aide sur la page Format imprimable Accueil
Requête en erreur : select Reference, Nom, Prenoms, Statut_Fiche, Diff_Internet,Ne_le, Decede_Le from sg_1227_personnes where Reference <> 0 and Reference in (select idPers from sg_1227_noms_personnes where idNom = ) and Diff_Internet = 'O' order by Nom, Prenoms
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') and Diff_Internet = 'O' order by Nom, Prenoms' at line 1