Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use Outer Joins?
Message
 
To
01/07/1999 11:58:16
Kenneth Downs
Secure Data Software, Inc.
New York, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00236477
Message ID:
00236635
Views:
12
SELE ...fields... ;
  FROM customers LEFT [OUTER] JOIN invoices;
    ON customers.customer_id = invoices.customer_id;
  WHERE invoices.order_dt BETWEEN.... ;
     OR ISNULL(Invoices.Order_dt) ...
Your query will not fix the problem because the record with NULL will not be included in the result. Adding the above OR condition should work although it would need to be tested to see if the non-invoices show as NULL or empty.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform