摘要:
怎么把两列的数据求和(先每列求和,再把结果再相加)sql数据库?select sum(shuliang)*4,sum(wancansl)*4, (sum(shuliang)*4 +...
图片来源:网络
怎么把两列的数据求和(先每列求和,再把结果再相加)sql数据库?
select sum(shuliang)*4,sum(wancansl)*4, (sum(shuliang)*4 + sum(wancansl)*4)from biao
图片来源:网络
select sum(shuliang)*4,sum(wancansl)*4, (sum(shuliang)*4 + sum(wancansl)*4)from biao
作者:kris本文地址:https://www.damoyx.com/p/25449.html发布于 2025-01-21 01:54:04
文章转载或复制请以超链接形式并注明出处大漠游侠网