code help!
| From: | Michael Roark | Date: | Tue, 05 Sep 2000 14:53:00 +0000 |
| Subject: | code help! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-15303@lists.php.net to get a copy of this message | ||
Here's what I need to do:
I've got a demographic, one field is a zip code field and there can be
many entries for the same zipcode. I want to select all the info for like
zipcodes and then sum the totals (say sales field) for each zip code and
then list the top 5 zip codes.
If someone could help me out with this one it would be much appriciated.
Thanks,
Michael