想要查找t1,t2,t3表加在一起的数据量
select sum(a)
from (
select count(*) a from t1
union all select count(*) a from t2
union all select count(*) a from t3
)as tb;
想要查找t1,t2,t3表加在一起的数据量
select sum(a)
from (
select count(*) a from t1
union all select count(*) a from t2
union all select count(*) a from t3
)as tb;