Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UNION and WHERE
Message
From
05/02/2002 07:53:12
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
UNION and WHERE
Miscellaneous
Thread ID:
00615361
Message ID:
00615361
Views:
67
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.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Next
Reply
Map
View

Click here to load this message in the networking platform