försök:
SELECT weekofyear(forcast_date) AS week_forcast,
COUNT(forcast_date) AS count_forcast, t2.count_actual
FROM
t t1 LEFT JOIN (
SELECT weekofyear(actual_date) AS week_actual,
COUNT(forcast_date) AS count_actual
FROM t
GROUP BY weekOfYear(actual_date)
) AS t2 ON weekofyear(forcast_date)=week_actual
GROUP BY
weekofyear(forcast_date), t2.count_actual
Du måste skriva cirka 30 (dina datumkolumner) kvar av medlemskap, och kravet är att din första datumkolumn inte ska ha en tom vecka (med ett antal 0) annars missas sammanfogningarna.