oula non je ne crois pasen gros un genre de requete comme ça.
Select distinct id from table1 where id<>select id2 from table2;????
Code : Tout sélectionner
SELECT id.table1,id.table2 FROM table1, table2 WHERE id.table1<>id.table2
Code : Tout sélectionner
SELECT
t1.id,
t2.id
FROM
table1 t1 OUTER JOIN table2 t2 ON t1.id = t2.id
WHERE
t1.id IS NULL
OR t2.id IS NULL$verif = "SELECT t1.ART_ID,t2.ART_ID FROM articles t1 OUTER JOIN articles_fr t2 ON t1.ART_ID = t2.ART_ID
WHERE t1.ART_ID IS NULL OR t2.ART_ID IS NULL";ca me met l'erreur :
SELECT t1.ART_ID,t2.ART_ID FROM articles t1 OUTER JOIN articles_fr t2 ON t1.ART_ID = t2.ART_ID WHERE t1.ART_ID IS NULL OR t2.ART_ID IS NULL Erreur de syntaxe près de 'OUTER JOIN articles_fr t2 ON t1.ART_ID = t2.ART_ID WHERE t1.ART_' à la ligne 1