要统计多张表的总数要怎么做 比方说有12张表 tab_1(1月份),tab_2(2月份).........tab_12(12月份).select count(*) from tab_1 那怎么把12张表的总数都统计出来,写一条语句!! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select sum(num) from(select count(*) as num from tab_1union allselect count(*) as num from tab_2....select count(*) as num from tab_12) 楼上的方法麻烦点,但是数据准select sum(num_rows) from user_tableswhere table_name like 'tab_%' //注意区分大小写的这个数据不准的 为什么num_rows没有数据呢?继续顶! 想问各位,在数据库设计中,有哪些措施来保正数据的正确性 求账龄分析表SQL SYSAUX,SYSTEM,UNDOTBS1 表空间使用率比较大 oem的问题 存储过程优化---千万级数量..谢谢 请教sql语句 Oracle Out varchar2 参数长度的问题 请问跨库导入导出数据能支持多大的数据集? 急求解决Oracle软件的安装问题 一个数据库多表查询的问题,各位老大们帮帮忙吧,都要急死了! 请教如何用toad 9对存储过程调试。 装了oracle9i server,怎么进去oracle portal
(select count(*) as num from tab_1
union all
select count(*) as num from tab_2
..
..
select count(*) as num from tab_12
)
select sum(num_rows) from user_tables
where table_name like 'tab_%' //注意区分大小写的
这个数据不准的