Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UNION and WHERE
Message
From
05/02/2002 08:04:55
 
 
To
05/02/2002 07:53:12
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00615361
Message ID:
00615369
Views:
16
This message has been marked as a message which has helped to the initial question of the thread.
Himar,
You can have two WHERE clauses.

>
>select (fieldlist) from Table1;
>  union select (fieldlist) from Table2 where (condition)
>
>
>It seems to me that (condition) applies only to the second part of the "unionized" query. Is there a way to apply a condition to the entire result set?
>
>Hilmar.
Daniel
Previous
Reply
Map
View

Click here to load this message in the networking platform