Re: PHP/mySQL question about groups
| From: | Nathan Nobbe | Date: | Thu, 07 Feb 2008 04:20:29 +0000 |
| Subject: | Re: PHP/mySQL question about groups | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-268835@lists.php.net to get a copy of this message | ||
On Feb 6, 2008 10:59 PM, Andrew Ballard <aballard@gmail.com> wrote:
> Of course, in this case you could just avoid all the confusion with
> this statement as well:
>
> SELECT DISTINCT name, size
> FROM wine
im not sure why, but i think distinct is typically way slower than group by.
-nathan