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

2021-02-21 12:39

JC_ID numeric(4) not null, S_ID numeric(4) not null, BX_Date date null, BX_Date_End date null, BX_NR char(100) null, constraint PK_BIAOXIAN primary key clustered (JC_ID, S_ID) );

/*==============================================================*/ /* Index: BiaoXian_PK */

/*==============================================================*/ create unique clustered index BiaoXian_PK on BiaoXian ( JC_ID ASC, S_ID ASC );

/*==============================================================*/ /* Index: BiaoXian_FK */

/*==============================================================*/ create index BiaoXian_FK on BiaoXian ( JC_ID ASC );

/*==============================================================*/ /* Index: BiaoXian2_FK */

/*==============================================================*/ create index BiaoXian2_FK on BiaoXian ( S_ID ASC );

alter table BiaoXian

add constraint FK_BIAOXIAN_BIAOXIAN_JIANGCHE foreign key (JC_ID) references JiangCheng (JC_ID) on update restrict on delete restrict;

alter table BiaoXian

add constraint FK_BIAOXIAN_BIAOXIAN2_STU_INFO foreign key (S_ID) references Stu_Info (S_ID) on update restrict on delete restrict;

(9)Table 课程表

/*==============================================================*/ /* Table: KeCheng */


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

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

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

马上注册会员

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