Is this possible in mysql?
| From: | Leif K-Brooks | Date: | Fri, 08 Mar 2002 19:17:17 +0000 |
| Subject: | Is this possible in mysql? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-17580@lists.php.net to get a copy of this message | ||
I need to add up the (integer) values of columns, and return the added up
value as one column to php. Is this possible? Or is there something else
to do it? (I'd rather not have to mysql_fetch_array() in a while loop and
add it up there, it might be a lot of rows)