Is there a way to group rows by a 7 days intervals(datetime) starting from a certain date in Mysql?
SELECT * FROM `table` GROUP BY WEEK( ADDDATE( `date_column` , WEEKDAY(NOW()) ) )