Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL not yiielding same result as Filter
Message
De
02/05/2000 09:43:52
 
 
À
02/05/2000 03:45:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00364987
Message ID:
00365052
Vues:
15
Harry,

If I understand you correctly, you want to find any records in BALANCE that do not have matching TYPEs in PTYPES.
SELECT * FROM balance ;
WHERE type NOT IN (SELECT type FROM ptypes)
>Every TYPE in BALANCE should have a match in PTYPES.
>
>I deliberately alter a TYPE in BALANCE to ensure that at least one record does not have a match.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform