SELEC T top 1000000 [业务日期],sum([日销售]) as 日销售, (selec t sum([日销售]) from dbo.[日销售分析3] as b where b.业务日期<=a.业务日期) as 累计 FROM dbo.[日销售分析3] as a GROUP BY [业务日期], [日销售] ORDER BY [业务日期] ASC