select
(select sum(sal)as sal_tp, sum(local_conv) as lc_tp from budget_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;
我明白了
ERROR 1241 (21000): Operand should contain 1 column(s).
有什么方法可以完成我的要求吗?该查询实际上是一个示例。我有许多包含多列的表,我想查看所有表的各个列的总和,我只是尝试在第一行一次查看两个我收到此错误,如果我尝试仅检索一列,那么它美好的。