Re: concatenating 2 resultsets
| From: | Marek Kilimajer | Date: | Mon, 15 Mar 2004 10:40:44 +0000 |
| Subject: | Re: concatenating 2 resultsets | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-180419@lists.php.net to get a copy of this message | ||
Angelo Zanetti wrote:
Hi all, is it possible to concatenate two resultsets, to form a big resultset.What database are you using?
both resultsets will return the same columns. eg query 1 returns NAME| ADDRESS| EMAIL query 2 returns NAME| ADDRESS| EMAIL but they have different data however the column count is the same (in fact they are the same column)Look at UNION syntax