>Does anyone know how to write a query to get out the sum of a whole
>table column?
SELECT sum(<column>) FROM <table> {WHERE <where-clause>};
Also see the manual.
:wq!
Ralph
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php