Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use Outer Joins?
Message
 
À
01/07/1999 11:58:16
Kenneth Downs
Secure Data Software, Inc.
New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00236477
Message ID:
00236635
Vues:
13
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform