Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Union in subquery is invalid
Message
De
16/01/2006 13:14:57
 
 
À
16/01/2006 11:13:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01086909
Message ID:
01087251
Vues:
29
>It seems to me that it doesn't know what "EXISTS" since the subquery is selecting everything.
>
>Since you only want the Firstname matches, maybe try this?
>
>SELECT Member.FirstName FROM Member ;
>> WHERE EXISTS ( SELECT Firstname FROM New ;
>> WHERE Member.Numero = New.NoMember2 ;
>> OR Member.Numero = New.NoMember3 ;
>> OR Member.Numero = New.NoMember4)

There are several fields that need to be selected. I only included Member.FirstName to simplified the example.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform