Re: Problem with composed queries (eg UNION, INTERSECT ..) and PHP
| From: | (Stas Trefilov) | Date: | Sat, 06 Jan 2001 10:07:11 +0000 |
| Subject: | Re: Problem with composed queries (eg UNION, INTERSECT ..) and PHP | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-5743@lists.php.net to get a copy of this message | ||
Hello, Olivier Bourgeois!
You wrote:
> SELECT field1, field2
> FROM table1
> WHERE (some conditions)
> UNION
> SELECT field1, field2
> FROM table1
> WHERE (some conditions)
>
The syntax is correct. Your code snippet?
--
Piloteers do it on the road