voila j'ai deux requetes comme suit :
SELECT DISTINCT
LCase(e.no) as mail
FROM
ne n
join pers*i on (n.ref_int = i.id)
join mail e on (e.ref_pers = i.id)
WHERE
n.ref IN (select id from site where idr = 'www.tot.com') and
n.st = 0 and
i.st = 0 and
e.st = 0 and
n.id > 0 and
i.id > 0 and
e.id > 0
ORDER BY mail;
puis
SELECT
LCase(e.no) as mail
FROM
mail e, ne n
WHERE
e.ref_pers=n.ref_int and
e.sta=0 and
n.sta=-1
ORDER BY mail;
Ma question est comment en faire qu'une seule? Est ce possible?
Merci
