Possible Duplicate:
group by range in mysql
I want to count(*)
between specific ranges by dividing them into 5 minutes. For example
start time 13-03-2012 10:30
end time 13-03-2012 10:45
this time range should be splitted into 3 ranges and specifically count them
For Example:
Ranges Count(*)
range 1 5 range 2 7 range 3 11