您的位置: 首页 > IT文章 > oracle笔试题 oracle笔试题 分类: IT文章 • 2022-04-12 18:26:01 oracle笔试题求助这个要怎么写,------解决思路---------------------- select GoodName 物品, sum(decode(Cls,'进',Qty,0)) 进货数量, sum(decode(Cls,'出',Qty,0)) 出货数量, sum(decode(Cls,'进',Qty,'出',-Qty)) 当前库存 from GoodDt1 group by GoodName