Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Left Outer Join
Message
From
09/03/1999 08:51:33
 
 
To
09/03/1999 08:22:59
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Miscellaneous
Thread ID:
00195480
Message ID:
00195481
Views:
21
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform