Bonjour, je n'arive pas a corriger cette requette
Merci de votre aideCode:select * from adresse where idpartcipant = 86 and idcontact = (select idcontact from contact where idparticipant = 86);
Version imprimable
Bonjour, je n'arive pas a corriger cette requette
Merci de votre aideCode:select * from adresse where idpartcipant = 86 and idcontact = (select idcontact from contact where idparticipant = 86);
Salut,
je pense que je mettrais un IN à la place du =
Code:select * from adresse where idpartcipant = 86 and idcontact IN (select idcontact from contact where idparticipant = 86);
Merci beaucoup ça marche :lol:
Juste pour info, je pense que la requete aurait pu etre ecrite autrement :
En tout cas, je trouve ca plus clair, a toi de voirCode:SELECT * FROM adresse a INNER JOIN contact c ON (a.idcontact=c.idcontact) WHERE c.idparticipant = 86