Code :
SELECT base2.NAME, base2.FSTNAME, base2.PNT, base2.MAT, base2.COL FROM p_ctc@lkb1b2 base2 NOT IN (SELECT base1.NOM, base1.PRENOM, base1.DEP, Translate(Lower(base1.NOM), 'àãâäçéèêëîïôöûüù _-^¨"''', 'aaaaceeeeiioouuu'), Translate(Lower(base1.PRENOM),'àãâäçéèêëîïôöûüù _-^¨"''','aaaaceeeeiioouuu'), base2.NAME, base2.FSTNAME, base2.PNT, base2.MAT, base2.COL, Translate(Lower(base2.NAME),'àãâäçéèêëîïôöûüù _-^¨"''','aaaaceeeeiioouuu'), Translate(Lower(base2.FSTNAME),'àãâäçéèêëîïôöûüù _-^¨"''','aaaaceeeeiioouuu') FROM pers.AGT base1, p_ctc@lkb1b2 base2 WHERE Translate(Lower(base1.NOM), 'àãâäçéèêëîïôöûüù _-^¨"''', 'aaaaceeeeiioouuu') = Translate(Lower(base2.NAME),'àãâäçéèêëîïôöûüù _-^¨"''','aaaaceeeeiioouuu') AND Translate(Lower(base1.PRENOM),'àãâäçéèêëîïôöûüù _-^¨"''','aaaaceeeeiioouuu') = Translate(Lower(base2.FSTNAME),'àãâäçéèêëîïôöûüù _-^¨"''','aaaaceeeeiioouuu') ORDER BY base1.NOM, base1.PRENOM);
|