数据库复习②

数据库复习②

2016年6月14日

20:32

Main Data Model 数据模型 ER图

1.什么是模型Model?

  Is the abstraction of real world

  是对现实世界的一种抽象;

  Reveal the essence of objects, help people to locate and resolve problems

  揭示了物理事物的本质,帮助人们定位和解决各种问题

模型举例

2.什么是数据模型?

  A data model explicitly determines the structure of data, and defines the operation that can be imposed, in order to represent the characteristic of the world

  数据模型定义了数据的结构以及定义了能够施加在数据上的各种操作,为了展示出现实世界的特性。

  Data model is the core and fundamental of database

  数据模型是数据库的核心与基础

  There exists different data models

  存在多种不同的数据模型

数据模型举例

  人们对现实世界有着不同的抽象层次

不同的抽象层次

3.什么是概念模型,逻辑模型,物理模型?

  Conceptual model (概念模型)

  documents and organizes the data for communication between functional and technical people

  文件和组织数据的功能与掌握技术的人们之间的沟通

  Logical model (逻辑模型)

  describes data semantics, data relationships, data constraints and  data operation in databas

  介绍语义关系的日期,日期,日期和数据操作,数据库中的约束

建造数据库应用的步骤

 

4.典型的逻辑模型 (ER Model)

  ER图基础:

ER图基础

  ER图中实体与实体集:

实体与实体集区别

  ER图实体之间的关系:

ER图实体之间的关系

ER图实体之间的关系

  ER图的拆分查看

ER图分解

  ER图多元关系:

ER图多元关系

  ER图举例:

ER图举例 

 数据库复习③摘要: 主键、超键、候选键、外键定义;三种约束;ER图举例;

ER图相关练习题:http://www.cnblogs.com/zpfbuaa/p/5256187.html

上一篇数据库复习①:http://www.cnblogs.com/zpfbuaa/p/5585349.html

下一篇数据库复习③:http://www.cnblogs.com/zpfbuaa/p/5587951.html

原文地址:https://www.cnblogs.com/zpfbuaa/p/5585526.html