Orcal 查询两张表的数据总量 第一种:SELECT a.total1 + b.total2 total FROM (SELECT count(1) total1 FROM table1) a, ( SELECT count(1) total2 FROM table2) b; 第二种:SELECT sum(c) total from ( select count(1) as c from table1 UNION ALL select count(1) as c from table2 )