Posted by Brian on 12/03/07 18:44
Hi
Whats wrong with this statment?
SELECT
FROM `orders` SUM(del) AS TotalPicked
WHERE datepackedtimestamp = '1196640000'
GROUP BY packedby
ORDER BY packedby
I'm trying to end up with a list of a summed up del from each packed by
EG
John 46
Fred 189
Harry 24
Thanks
Brian
--------------------------------------------------------------------------------
I am using the free version of SPAMfighter for private users.
It has removed 564 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter for free now!
[Back to original message]
|