select * from S where exists( select 1 from C where not exists (select 1 from SC where C.C#=C# and SC.S#=S.S# ))
这句得到的结果是没有选择全部课程的学生
这句得到的结果是没有选择全部课程的学生

26403021 sql群 博客 blog./user15/81152/index.shtml

2007-01-30 17:50
2007-04-10 14:05
还是比较习惯最后一句.
2007-04-10 16:59
2007-04-20 09:25
2007-04-24 10:12
2007-04-24 10:13

2007-05-16 15:41
2007-05-17 09:19
2007-05-28 08:19