MySQL: How can fetch SUM() of all fields in ne Query?
Posted
by takpar
on Stack Overflow
See other posts from Stack Overflow
or by takpar
Published on 2010-05-12T10:24:19Z
Indexed on
2010/05/12
10:34 UTC
Read the original article
Hit count: 209
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!)
© Stack Overflow or respective owner