Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Left Outer Join
Message
De
09/03/1999 08:51:33
 
 
À
09/03/1999 08:22:59
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Divers
Thread ID:
00195480
Message ID:
00195481
Vues:
22
You can use the UNION operator to simulate a LEFT OUTER JOIN. It would look something like this:

SELECT columnlist
FROM titles, sales
WHERE title.title_id = sales.title_id
AND something else
UNION
SELECT columnlist
FROM titles
WHERE title_id NOT IN
(SELECT title_id FROM sales)

Don't forget the semi-columns <g>.

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform