MySQL: How can fetch SUM() of all fields in ne Query?
- by takpar
Hi,
I just want somthing like this:
select SUM(*) from `mytable` group by `year`
any suggestion?
(I am using Zend Framework; if you have a suggestion using ZF rather than pure query would be great!)