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:
00398188
Views:
27
>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.

Ohoh, you are right I din't read well the question so I thoughed that the selField contains "english, french"...
Pablo Roca
Clavo Congelados, S.A. (La Coruna - Spain)
Sysop of PortalFox

Join MasFoxPro campaign
http://www.masfoxpro.com
Previous
Reply
Map
View

Click here to load this message in the networking platform