Re: Applying WHERE on UNIONS
From: Uri Dimant (urid_at_iscar.co.il)
Date: 11/23/04
- Next message: Malc: "Re: Using Case colum in where clause"
- Previous message: Eniko Tegen: "RE: Applying WHERE on UNIONS"
- In reply to: Rafa®: "Applying WHERE on UNIONS"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 23 Nov 2004 13:52:29 +0200
SELECT col.....
FROM
(
SELECT col1... FROM TableA
UNION ALL
SELECT col1... FROM TableB
) AS D
WHERE col.....
"Rafa®" <Rafa@discussions.microsoft.com> wrote in message
news:6236049E-9AA3-48F0-A0EC-AAC0227DEF71@microsoft.com...
> I have a simple question...
> How can I apply a WHERE clause to an entire UNION Query?
>
> Thx,
> Rafa®
- Next message: Malc: "Re: Using Case colum in where clause"
- Previous message: Eniko Tegen: "RE: Applying WHERE on UNIONS"
- In reply to: Rafa®: "Applying WHERE on UNIONS"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|