初学,请教一个查询语句? select icount = (select count(*) from a) + (select count(*) from b) + (select count(*) from c) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select (select count(distinct 学生表关键列) from a)+ (select count(distinct 教师表关键列) from b)+ (select count(distinct 行政领导表关键列) from c) select (select count(*) from A) + (select count(*) from B) + (select count(*) from C) as TotalNumber 假设每个表都有一个no字段,每个no对应一个人名select distinct count(*) from (select no from A union allselect no from B union allselect no from C)t 我看不用distinct 吧,如果同名字就不好了 死锁问题 根据两表更新得到新表 库存计算的问题! 计算10000以内的素数要2分钟的代码 直接从一个视图里掉20000条数据,用什么方法最快呢?我现在用的是vb+mssql 重建sa用户 如何把远程的数据库的某个表备份到本地数据库的表(表里需加ID列自动标识),每15分钟备份一次,只对新增的记录 高手请进 数据库恢复问题..江湖救急啊!!! 如何部署analysis sevices项目到远程服务器? 如何优化以下语句啊???? SQL Server的Web助手功能中如何使用带有中文内容的HTML页面模板
(select count(distinct 教师表关键列) from b)+
(select count(distinct 行政领导表关键列) from c)
select distinct count(*) from (
select no from A union all
select no from B union all
select no from C)t