要求查询每一门课的间接先行课
USE EDUC
GO
select x.cno,y.ctno
from course.x,course.y
where x.ctno=y.ctno;
select x.cno,y.ctno
from course.x,course.y --这里的 . 去掉 改成 course x,course y
where x.ctno=y.ctno;
或者
select x.cno,y.ctno
from course as x,course as y
where x.ctno=y.ctno;
select x.cno,y.ctno
from course.x,course.y --这里的 . 去掉 改成 course x,course y
where x.ctno=y.ctno;