Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LEFT JOIN situation need to be resolved
Message
From
19/01/2006 02:58:03
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01088255
Message ID:
01088288
Views:
7
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform