how to group MySql rows based on month?
Posted
by understack
on Stack Overflow
See other posts from Stack Overflow
or by understack
Published on 2010-04-05T19:17:31Z
Indexed on
2010/04/05
19:23 UTC
Read the original article
Hit count: 127
I've a table with a datetime (format: 'Y-m-d H:i:s') 'created' field and 'amount' (integer) field in each row. Now I want to find out total 'amount' in last year month wise. How can I do this?
EDIT
I made an edit to clarify the actual problem.
© Stack Overflow or respective owner