|
@@ -120,7 +120,7 @@ select p1.pnum, p1.pname, p2.pnum, p2.pname from professor p1, professor p2
|
|
|
c.deptcode != c2.deptcode or
|
|
|
c.term != c2.term or
|
|
|
c.cnum != c2.cnum)
|
|
|
- )
|
|
|
+ );
|
|
|
-- NOW CAN USE AGGREGATION
|
|
|
|
|
|
/*
|
|
@@ -200,4 +200,4 @@ with eachclass (sectioncount) as
|
|
|
(select count(*) from class
|
|
|
where term = 1185
|
|
|
group by (deptcode, cnum))
|
|
|
-select count(*), sectioncount from eachclass group by sectioncount;
|
|
|
+select count(*), sectioncount from eachclass group by sectioncount;
|