1
战德臣 博士•教授•教学带头人•博士生导师 哈尔滨工业大学计算机科学与技术学院
《数据库系统基础》
数据库系统基础
哈尔滨工业大学
战德臣 博士•教授•教学带头人•博士生导师 哈尔滨工业大学计算机科学与技术学院
《数据库系统基础》
战德臣 博士•教授•教学带头人•博士生导师 哈尔滨工业大学计算机科学与技术学院
《数据库系统基础》
第5章 数据库设计
战德臣 博士•教授•教学带头人•博士生导师 哈尔滨工业大学计算机科学与技术学院
《数据库系统基础》
第5章 数据库设计
5.1 数据库设计
---- 什么是数据库设计?本章的目标
---- 数据库设计中的抽象
---- 数据模型与概念模型
5.2 利用E-R模型/IDEF1X模型进行数据库设计
5.3 数据库设计正确性分析
5.4 数据库设计方法与设计过程
战德臣 博士•教授•教学带头人•博士生导师 哈尔滨工业大学计算机科学与技术学院
《数据库系统基础》
¾ 回顾学生选课数据库SCT: 如何设计出来的呢?变化一下有无问题呢?
z 学生(学号S#, 姓名Sname, 性别Ssex, 年龄Sage, 所属系别D#)
Student (S# char(8), Sname char(10), Ssex char(2), Sage integer,
D# char(2), Sclass char(6))
z 院系(系别D#,系名Dname, 系主任Dean)
Dept (D# char(2), Dname char(10), Dean char(10))
z 课程(课程号C#, 课程名CName, 任课教师编号T#, 学时Hours)
Course (C# char(3),Cname char(12),Chours integer,Credit float(1),T#
char(3))
z 教师(教师编号T#,教师名TName, 所属院系D#,工资Salary)
Teacher (T# char(3), Tname char(10), D# char(2), Salary float(2))
z 选课(学生号S#, 课程号C#, 成绩Score)
SC (S# char(8), C# char(3), Score float(1))
5.1 数据库设计
---- 什么是数据库设计?
战德臣 博士•教授•教学带头人•博士生导师 哈尔滨工业大学计算机科学与技术学院
《数据库系统基础》
Database Design ----Modeling!
What is a Model ?
A model is an abstract description of the
targets, the structure and the behavior of
a real system (e.g. enterprise)
A model is an abstract description of the
targets, the structure and the behavior of
a real system (e.g. enterprise)
Quelle: Piccasso
The considered section of the real world
depends on the point of view of the
observer and on the setting of the tasks
The considered section of the real world
depends on the point of view of the
observer and on the setting of the tasks
Prof. Dr.-Ing. Kai Mertins
5.1 数据库设计