- 7
- 0
- 约9.54千字
- 约 6页
- 2023-05-25 发布于四川
- 举报
现在有一教学管理系统,具体的关系模式如下:
Student (no, name, sex, birthday, class)
Teacher (no, name, sex, birthday, prof, depart)
Course (eno, cname, tno)
Score (no, eno, degree)
其中表中包含如下数据:
Course 表:
Score 表:
Student 表:
Teacher 表:
根据上面描述完成下面问题:
〔法意:注意保存脚本,尤其是加L和DML,以便进展数据复原)
DDL
.写出上述表的建表语句。
命 令 :
createtableStudent(noint,namevarchar(14),sexvarchar(2),birthdayda tezclassint);
createtableTeacher(nointznamevarchar(14),sexvarchar(2),birthdayda terprofvarchar (10),departvarchar (10));
createtableCourse(cnovarchar(8),cnamevarchar(14),tnoint);
createtableScore(noint,cnovarchar(8),degreeint);
DML
.给出相应的INSERT语句来完成题中给出
原创力文档

文档评论(0)