SQL
SVP comment ecrire la requete suivante pr qu'elle marche sous oracle:
(nb elle marche tres bien sous ACSESS et je pense qu'il faut arriver à supprimer le INNER JOIN)
SELECT ID from matable
where ID IN (SELECT ID FROM TAB2 INNER JOIN TAB3 ON TAB2.ID =TAB3.ID WHERE TAB2.ID=1)
MERCi
(nb elle marche tres bien sous ACSESS et je pense qu'il faut arriver à supprimer le INNER JOIN)
SELECT ID from matable
where ID IN (SELECT ID FROM TAB2 INNER JOIN TAB3 ON TAB2.ID =TAB3.ID WHERE TAB2.ID=1)
MERCi
4 réponses
-
SELECT ID from matable
where ID IN (SELECT ID FROM TAB2 , TAB3 WHERE TAB2.ID =TAB3.ID AND TAB2.ID=1) -
merci j'essaye
-
merci bacchuss ça marche
-
Pour info, dans la version 9i release 2, il y a la possibilité de faire des jointures avec JOIN (qui est d'ailleurs la norme SQL...) mais la syntaxe est un peu différente de ACCESS