Student(S#,Sname,Sage,Ssex) 学生表 
Course(C#,Cname,T#) 课程表 
SC(S#,C#,score) 成绩表 
Teacher(T#,Tname) 教师表 1 查询所有课程成绩小于60分的同学的学号、姓名;select S#,Sname 
  from Student 
  where S# not in (select Student.S# from Student,SC where S.S#=SC.S# and score>60);直接这样写不行吗?select Student.S#,Student.Sname from Student,SC where Student.S#=SC.S# and score<60;
还有这样写呢 ?select Student.S#,Student.Sname from Student left Outer join SC on Student.S#=CS.S# where SC.score<60;2 查询课程编号“002”的成绩比课程编号“001”课程低的所有同学的学号、姓名;
这样写对吗?select Student.S#,Student.Sname from Student,
((select SC.S#,score from SC where C#='002')a,
(select SC.S#,score from SC where C#='001')b 
where a.S#=b.S# and a.score<b.score)c 
where c.S#=Student.S#;