Re: mysql COUNT row results

From: Date: Thu, 23 Jun 2011 14:28:03 +0000
Subject: Re: mysql COUNT row results
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-47867@lists.php.net to get a copy of this message
If you're looking for a count of ALL records, why do you want to append that to EACH record? Now if you're looking for a count of subscribers who have certain attributes (ie, unique groups of subscribers), then you would use a group by clause and include the attributes that define the group in your selection.

« previous php.db (#47867) next »