我想从不同的表中获取不同列的总和,我在下面做了类似的事情,我认为在 mysql 中有更好的方法
select
(select sum(sal) from budget_tp) as sal_tp,
(select sum(sal) from budget_fos_veri) as sal_veri,
(select sum(sal) from budget_fos_picks)as sal_pick,
(select sum(sal) from budget_bpo_other)as sal_bpo;