10 octobre 2008
Jointure externe
SELECT P.matricule, P.nom, D.Numvol
FROM Pilote P LEFT [OUTER] JOIN Depart D ON P.matricule = D.matricule
/
Remarque : OUTER ne sert à rien.
Une autre syntaxe, particulière à Oracle :
SELECT P.matricule, P.nom, D.Numvol
FROM Depart D, Pilote P
WHERE P.matricule=D.matricule (+)
/
Publicité
Commentaires