扣出来了, 留作以后备用 【access 按某个年份 统计每个月的数量值】
[code=SQL]select fd_month.id ,count(f_d.reg_date)as mcount from (select reg_date from fd_reg where year(fd_reg.reg_date)='2008') as f_d right outer join fd_month on fd_month.id=month(f_d.reg_date) group by fd_month.id[/code]