Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Select problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00398108
Message ID:
00398188
Vues:
20
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform