Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding ALL items not ANY
Message
 
 
To
11/10/2000 11:16:11
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00427146
Message ID:
00427888
Views:
16
IOW, you can substitute other tables for OrdItems below as long as it includes the key OrdID.
> SELECT * FROM Orders ;
>   INTO CURSOR Temp ;
>  WHERE OrdID IN (SELECT OrdID FROM OrdItems O1 WHERE item = 'hammer') ;
>    AND OrdID IN (SELECT OrdID From OrdItems O2 WHERE item = 'nails')
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform