Getdate()
我想在这段代码中通过 dte 进行选择
select a.Dte,
SUM ( p.IMoney - p.OMoney) from Daily a
cross join
Daily p
where a.Dte >= p.Dte
group by a.Dte
Getdate()
我想在这段代码中通过 dte 进行选择
select a.Dte,
SUM ( p.IMoney - p.OMoney) from Daily a
cross join
Daily p
where a.Dte >= p.Dte
group by a.Dte