Re: array_unique and some questions on Zend hash internals

From: Date: Sun, 04 Jun 2000 19:07:10 +0000
Subject: Re: array_unique and some questions on Zend hash internals
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-20198@lists.php.net to get a copy of this message
AZ>> cannot control. This is similar to doing a group by on one column and AZ>> selecting another column without any sort of aggregate operation on it - AZ>> it's just not useful. You tell me. I just spent 3 hours looking for a way to get a row from a table which has maximal value of a column. Yeah, SQL books say "you cannot do this with max() because result is undefined and not useful". The hell I care! I just need to get the most recent post on forum. So it be one of the posts that were made in the same second, if any. Who cares? But no, I need to use full-table sort or launch subqueries for that... -- Stanislav Malyshev stas@zend.com +972-3-6139665

« previous php.dev (#20198) next »