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

2021-02-21 12:39

/*==============================================================*/ create index RenZhi_FK on Stu_Info ( ZW_ID ASC );

/*==============================================================*/ /* Index: Relationship_5_FK */

/*==============================================================*/ create index Relationship_5_FK on Stu_Info ( BJ_ID ASC );

alter table Stu_Info

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

alter table Stu_Info

add constraint FK_STU_INFO_RENZHI_ZHIWU foreign key (ZW_ID) references ZhiWu (ZW_ID) on update restrict on delete restrict;

(4)Table 年级表

/*==============================================================*/ /* Table: NianJi */

/*==============================================================*/ create table NianJi (

NianJi_ID numeric(4) not null, BJ_ID numeric(4) null, NianJi char(10) null, ZuZhang numeric(4) null, BJ_BiYe smallint null, constraint PK_NIANJI primary key (NianJi_ID) );

/*==============================================================*/ /* Index: NianJi_PK */

/*==============================================================*/ create unique index NianJi_PK on NianJi ( NianJi_ID ASC );


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

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

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

马上注册会员

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