分表统计查询

select sum(*) from (select count(*) NU from tab1 union select count(*) NU from tab2) temp

posted @ 2016-04-18 10:56  雨落知音  阅读(342)  评论(0编辑  收藏  举报