找出至少选修了两门课程的学生姓名
select SNAME
from S
where not unique
(select S#
from SC
where SC.S# = S.S#)
这是我们老师给演示unique的用法
我始终有一点搞不清楚。。就是where中的查询要用到外部的S 貌似这样的例子还有很多谁能帮我详细解释下上面的代码 谢谢
select SNAME
from S
where not unique
(select S#
from SC
where SC.S# = S.S#)
这是我们老师给演示unique的用法
我始终有一点搞不清楚。。就是where中的查询要用到外部的S 貌似这样的例子还有很多谁能帮我详细解释下上面的代码 谢谢
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货