Trek 13 dagen af en doe de groepering die je nu doet:
select time_logged,
date_format(start_date - interval 12 day, '%Y-%m') AS `month_logged`
from work_log
group by month_logged;
Trek 13 dagen af en doe de groepering die je nu doet:
select time_logged,
date_format(start_date - interval 12 day, '%Y-%m') AS `month_logged`
from work_log
group by month_logged;