oracle SQL数据库实训报告(14)

2021-02-21 12:39

/*==============================================================*/ /* Index: Relationship_3_FK */

/*==============================================================*/ create index Relationship_3_FK on NianJi ( BJ_ID ASC );

alter table NianJi

add constraint FK_NIANJI_RELATIONS_BANJI foreign key (BJ_ID) references BanJi (BJ_ID) on update restrict on delete restrict;

(5)Table 成绩表

/*==============================================================*/ /* Table: ChengJi2 */

/*==============================================================*/ create table ChengJi2 (

S_ID numeric(4) not null, CJ_1 numeric(3) null, CJ_2 numeric(3) null, CJ_3 numeric(3) null, CJ_4 numeric(3) null, CJ_BL1 numeric(3) null, CJ_BL2 numeric(3) null, CJ_BL3 numeric(3) null, CJ_BL4 numeric(3) null, CJ_ZF numeric(3) null, CJ_BK numeric(3) null, constraint PK_CHENGJI2 primary key clustered (S_ID) );

/*==============================================================*/ /* Index: ChengJi_PK */

/*==============================================================*/ create unique clustered index ChengJi_PK on ChengJi2 ( S_ID ASC );

alter table ChengJi2

add constraint FK_CHENGJI2_CHENGJI_STU_INFO foreign key (S_ID)


oracle SQL数据库实训报告(14).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:第5课时 绿色植物的光合作用和呼吸作用

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: