MySQL Group By and bracketing according to age.
Posted
by text
on Stack Overflow
See other posts from Stack Overflow
or by text
Published on 2010-05-20T03:15:53Z
Indexed on
2010/05/20
3:20 UTC
Read the original article
Hit count: 248
mysql
Is that possible that MySQL can handle grouping of data according to age bracket?
In my users table, age value is their actual age. I want to group them according to age bracket. For example:
ages below 1 year old as age1, 1-4 yrs as age2, 5-9 yrs. old as age3 and so on.
© Stack Overflow or respective owner