Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL not yiielding same result as Filter
Message
From
02/05/2000 09:43:52
 
 
To
02/05/2000 03:45:45
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00364987
Message ID:
00365052
Views:
16
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform