Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Select problem
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00398108
Message ID:
00398148
Views:
26
This message has been marked as the solution to the initial question of the thread.
Boris,

Here's how to get the ruslt you want;
SELECT Name ;
  FROM People ;
 WHERE SelField = "English" ;
   AND Name IN (SELECT Name ; 
                  FROM People ;
                 WHERE SelField = "French") ;
 INTO CURSOR MyResult
The other suggestions will fail beacuse there is no record where selfield is "English" and "French" both.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform