oracle表建好后添加外键约束的方法:

alter table table_name add constraint constraint_name foreign key (column_name) references table_name_1(column_name_1);