Group mysql query by 15 min intervals

Posted by gsiener on Stack Overflow See other posts from Stack Overflow or by gsiener
Published on 2010-05-08T12:13:02Z Indexed on 2010/05/08 12:18 UTC
Read the original article Hit count: 153

Filed under:
|
|
|
|

I've got a monitoring system that is collecting data every n seconds (n ~=10 but varies). I'd like to aggregate the collected data by 15 minute intervals. Is there a way to corral the timestamp column into 15 minute chunks to allow for grouping to work?

© Stack Overflow or respective owner

Related posts about mysql

Related posts about sql