SQL 數據分組累加sum() over (partition by ... order by ...)

drop table testaa --新建測試表testaa create table testaa (id int ,[group] varchar(10) ,num int ) select * from testaa --插入測試數據 insert into testaa select 1,'A',100 union all select 2,'A',200 union al
相關文章
相關標籤/搜索