|
Publicité ' | |||||||||||||||||||||||
|
|
#1 |
|
Membre habitué
![]() Inscription : septembre 2002 Messages : 253 ![]() |
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+ |
|
|
00
|
|
|
#2 | ||
|
Membre Expert
![]() Frédéric Inscription : octobre 2002 Messages : 1 722 ![]() |
Essaye ca
Code :
Car la solution que je te propose va exclure toutes les lignes dont IDEMPLOYE1 est nul et toutes celle ou IDEMPLOYE2 est nul également... |
||
|
|
00
|
|
|
#3 |
|
Membre habitué
![]() Inscription : septembre 2002 Messages : 253 ![]() |
Merci à Barbibulle,
C'est tout bon !! A+ |
|
|
00
|
Copyright © 2000-2012 - www.developpez.com