Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting records that do NOT match a query
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00089645
Message ID:
00089648
Views:
28
>What's the best way to get items from a second table that do NOT match records from the first one using a query? This is obviously useful when calculating differences in tables. Most people still say that needs to be coded, what's your thought on this?
>
>TIA
>
>Gil
Gil,
SELECT * FROM TableB WHERE TableB.PK NOT IN(SELECT PK FROM TableA) ...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform