瀏覽代碼

missed a deletion

tarfeef101 7 年之前
父節點
當前提交
cfa24e8c28
共有 1 個文件被更改,包括 0 次插入5 次删除
  1. 0 5
      a2/a2.sql

+ 0 - 5
a2/a2.sql

@@ -59,11 +59,6 @@ select distinct snum, sname from student where year > 2 and snum not in
   )
 )
 
-select c.pnum, c.deptcode, c.cnum, c.term, c.section from class c where c.pnum not in
-(
-  select pnum from professor where deptcode != "CS"
-)
-
 /*
  A sorted list of all departments who do not have a professor currently
 teaching a course offered by a different department.