怎样对union all结果统计??(表1)unionall(表二)怎么对得到的结果统计,count()怎么使用?[解决办法]select c
怎样对union all结果统计??
(表1) union all (表二)
怎么对得到的结果统计,count() 怎么使用?
[解决办法]
select count(*) from (select .... union all select ...) t
[解决办法]
Select Count(*) From
(
Select * From 表1
Union All
Select * From 表二) A
[解决办法]
select count(*) from (select * from 表1 union all select * from 表2) t
