- 26
- 0
- 约1.7万字
- 约 13页
- 2017-03-18 发布于贵州
- 举报
oracle课后习题答案racle课后习题答案
练习6
2.实训题
(2)
Create table exer_class(
CNO number(2) primary key,
CNAME varchar2(20),
NUM number(3)
);
Create table exer_student(
SNO number(4) primary key,
SNAME varchar2(10) unique,
SAGE number,
SEX char(2),
CNO number(2)
);
(3)
Alter table exer_student add constraint ck_sage check
(sage0 and sage=100);
(4)
Alter table exer_student add constraint ck_stu check
(sex=M or sex=F) modify sex default M;
(5)
Create unique index ind_cname on exer_class(cname);
(6)
Create view stu_class_view (e_sno,e_sname,e_cno,e_cname)
AS
select sno,sname,cno,cname
From exer_student;
(7)
Create
您可能关注的文档
- office word 用快捷键一览office word 常用快捷键一览.doc
- no3结构力学习题micosoft powerpoint 演示文稿no3结构力学习题microsoft powerpoint 演示文稿.ppt
- nuclear magntic resonance(核磁共振)nuclear magnetic resonance(核磁共振).ppt
- nosql_综述nosq_综述.ppt
- office2010基本作技巧操作技巧.doc
- noteexpress使教程用教程.ppt
- ntsys_2.10e_用方法使用方法.ppt
- office常用快捷键、xcel绘图和txt转换office常用快捷键、excel绘图和txt转换.doc
- office2010计算二级办公软件考试 office高级应用技术元文档office2010计算机二级办公软件考试 office高级应用技术元文档.doc
- office实用技巧 阳电脑社光电脑社.ppt
原创力文档

文档评论(0)