,) ), Sales int,Dates datetime) insert into ProductSale ,'2014-01-05' UNION ALL ,'2014-02-05' UNION ALL ,'2014-03-05' UNION ALL ,'2014-01-05' UNION ALL ,'2014-03-05' UNION ALL ,'2014-04-05' ) Sales,b.Dates ) b left join ProductSale as c on b.年=YEAR(c