发布网友 发布时间:2024-09-28 02:38
共2个回答
热心网友 时间:2024-10-01 11:35
select sum(a.approvemoney) -sum(b.paymoney) as minusresult from busiplane a, busipay b where a.bkid (21,22) and b.bkid in(21,22)";追问语法错误啊哥们 运行报错追答select sum(a.approvemoney) -sum(b.paymoney) as minusresult from busiplane a, busipay b where a.bkid in (21,22) and b.bkid in(21,22)";
热心网友 时间:2024-10-01 11:35
select sum(approvemoney) - sum(paymoney) as pfjhhjsjzchj from busipay,busiplane where busipay.bkid = busiplane .bkid and busipay.bkid in(21,22)