首页 新闻 会员 周边
5
回答数

已解决问题 100 关于Sql Server 分组统计

with [主表] (ID, 包号, 上级包号, 打包数量) as( select 1,'20ST01-Y-ST-0001','20ST01-Z-ST-0001','0' union all sele