Sql Sql Mysql Query To Extract Aggregates Over Multiple Timeframes

Sql Sql Mysql Query To Extract Aggregates Over Multiple Timeframes