Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL
Message
From
07/08/2000 19:07:02
 
 
To
07/08/2000 19:00:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: SQL
Miscellaneous
Thread ID:
00401994
Message ID:
00401996
Views:
19
>How do I write sql code that takes a list of items from one table and compares them to a list in another table and gives a list of items of the first table that found no matches? Thanks for the Help.
SELECT * FROM firsttable ;
       WHERE keyfield ;
       NOT IN (SELECT keyfield FROM secondtable) ;
       INTO CURSOR mylist
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform