Dans une table j'ai deux fois IDEMPLOYE et je veux remonter le nom de chacun.
Si je fais
SELECT matable1.IDEMPLOYE1,matable1.IDEMPLOYE2,matableEMPLOYE.NOM FROM
matable1,matableEMPLOYE
WHERE
matable1.IDEMPLOYE1=matableEMPLOYE.IDEMPLOYE AND
matable1.IDEMPLOYE2=matableEMPLOYE.IDEMPLOYE AND une autre condition
bien sûr il me remonte le nom seulement si IDEMPLOYE1=IDEMPLOYE2
Je suis un peu perdu sur ce coup.
Merci pour votre aide.
A+
Partager