1234select count1+count2from (select count(*) count1 from one) a,(select count(*) count2 from two) b 或12345select sum(a.count1)from(select count(*) count1 from oneunion all(select count(*) from two) a