1、select a.sname
from s a,(select s# from sc having count(*)=(select count(*) from c) group by s#) b
where a.s#=b.s#
;
from s a,(select s# from sc having count(*)=(select count(*) from c) group by s#) b
where a.s#=b.s#
;
解决方案 »
- oracle数据库问题!高手请进!!
- 菜鸟问题
- 【200分】一个包含日期条件的存储过程,日期对象该如何处理??如果可以马上结贴!!!!!!!!
- oracle PL/SQL 开发工具 DEVELOPER 专区,开发高手请进!!!
- ---百分--- 求几道题的答案
- 将远程的数据库按照本机的数据进行更新,如何进行?????急急急!!!
- Oracle异常信息说明
- 为什么我在存储过程中使用dba_free_spaces之类的视图时,oracle总提示没有定义的变量?
- 求救,在win2Kpro上安装完Oracle9i,点击Enterprise manage console后一闪而过???
- ORA-02041: 客户数据库未开始一个事务处理
- 存储过程中建立一个表时出错,提示没有权限,为什么?
- 如何在where中加判断?
(select c# from sc where s#='003') and S#<>'003';
答案:S1
--
select SName from S
where (select count(*) from C) = (select count(*) from SC where S# = S.S#)