Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LEFT JOIN situation need to be resolved
Message
De
19/01/2006 02:58:03
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01088255
Message ID:
01088288
Vues:
6
>Try
SELECT Video.Title,School.Title FROM Video;
>	LEFT JOIN Member ON Video.NoMember=Member.Numero;
>	LEFT JOIN School ON Member.NoSchool=Scool.Numero ;
>	WHERE Video.Type IN (1,2) ;
>UNION ;
>SELECT Video.Title,School.Title FROM Video;
>	LEFT JOIN Member ON Video.NoMember=Member.Numero;
>	LEFT JOIN School ON Member.NoSchool2=Scool.Numero ;
>	WHERE Video.Type =3
>
Thanks, this is what I was looking for. Fabio's suggestion is also another solution that works well as well.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform