如何求取累積和declare @t table ( id int, SomeNumt int )insert into @tselect 1,10unionselect 2,12unionselect 3,3unionselect 4,15unionselect 5,23select * from @t上面的選擇返回以下內(nèi)容。id SomeNumt1 102 123 34 155 23如何獲得以下信息id srome CumSrome1 10 102 12 223 3 254 15 405 23 63
如何求取累積和
DIEA
2019-06-25 17:15:26