Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Union in subquery is invalid
Message
From
16/01/2006 11:13:34
 
 
To
16/01/2006 00:24:58
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01086909
Message ID:
01087196
Views:
26
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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform