SQL> alter table teaching
2 add constraint pk_tea_no primary key(t_no,course_no);表已更改。SQL> alter table teaching
2 add constraint fk_tea_no foreign key (t_no) references teaalter table teaching
3 add constraint fk_course_no foreign key (course_no) references course(course_no);cher(t_no) on delete cascade;
add constraint fk_tea_no foreign key (t_no) references teaalter table teaching
*
第 2 行出现错误:
ORA-01735: 无效的 ALTER TABLE 选项各位在神帮忙看看是那里错了?本人小白一个,在网上找了一个初学者项目(下面是网址),想练习,到这里就出错了。
 
https://blog.csdn.net/anhldd/article/details/8296549