问答 2022-02-15 来自:开发者社区

使用SQL Server从贷方和借方导出期末余额

我们可以在sql server中使用lag函数实现以上功能吗? 我有cust,date,credit amount,debit amount在表中,我需要的cust,date,credit amount,debit amount,closing balance(逻辑是以前的期末余额-当前行借记+目前的信用额度) 我正在尝试 select *, LAG (closing ba...

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。

产品推荐