Count AND sum columns values
| From: | Cesar Aracena | Date: | Mon, 20 Jan 2003 18:46:03 +0000 |
| Subject: | Count AND sum columns values | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-24984@lists.php.net to get a copy of this message | ||
Hi all,
I have this table which stores products and quantities ordered by
customers, and for billing purposes, I need to fetch not only how many
products but also how many where ordered for each one but not detailed,
but as one big result, so later I can charge for individual gift
packages and stuff... How can I do this in a simple way?
Thanks in advance,
Cesar L. Aracena
icaam@icaam.com.ar
caracena@infovia.com.ar
(0299) 156-356688
Neuquén (8300) Capital
Argentina