Re: returning multiple resultsets from mysql
| From: | Michael Wallner | Date: | Tue, 30 Aug 2005 07:19:55 +0000 |
| Subject: | Re: returning multiple resultsets from mysql | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-20651@lists.php.net to get a copy of this message | ||
Hi Massimiliano Arione, you wrote:
> Why not
>
> SELECT * FROM mapPointTypes WHERE id = 1 OR id = 2
Sometimes 2 queries using idices may be better than
one query which doesn't use any index.
Regards,
--
Michael - < mike(@)php.net >