1.18 ER Diagram

本文深入探讨数据建模的重要性,详细讲解ER模型的三大构造:实体、关系和属性。阐述如何选择合适的实体、属性,正确表示关系,包括一元、二元和三元关系、基数和约束。此外,还介绍了如何绘制常见业务场景的E-R图,以及如何通过超类型/子类型关系、时间戳等技术来建模复杂业务情况。
摘要由CSDN通过智能技术生成

Discuss the importance of data modeling 讨论数据建模的重要性

Write good names and definitions for entities, relationships, and attributes 为实体、关系和属性编写良好的名称和定义

Distinguish unary, binary, and ternary relationships 区分一元、二元和三元关系

Model different types of attributes, entities, relationships, and cardinalities 对不同类型的属性、实体、关系和基数进行建模

Draw E-R diagrams for common business situations 绘制常见业务情况的 E-R 图

Convert many-to-many relationships to associative entities 将多对多关系转换为关联实体

Model time-dependent data using time stamps 使用时间戳对时间相关数据进行建模

Use of supertype/subtype relationships 使用超类型/子类型关系

Use of generalization and specialization techniques 使用泛化和专业化技术

Specification of completeness and disjointness constraints 完整性和不相交约束的规范

Develop supertype/subtype hierarchies for realistic business situations 为实际业务情况开发超类型/子类型层次结构

Develop entity clusters 发展实体集群

Name categories of business rules 业务规则的名称类别

Define operational constraints graphically and in English 以图形方式和英语定义操作约束

Definition of business rules, good data names, good data definition

  • Business RulesStatements that define or constrain some aspect of the businessAre derived from policies, procedures, events, functions; Assert business structure; Control/influence business behavior; Expressed in terms familiar to end users; Automated through DBMS software
    • Classification: Structural assertion—rule expressing static structure. Includes attributes, relationships, and definitions; Derivation—rule derived from other knowledge, often in the form of a formula using attribute values; Action assertion—rule expressing constraints/control of organizational actions. 结构断言——表达静态结构的规则。包括属性、关系和定义;推导——从其他知识导出的规则,通常采用使用属性值的公式的形式;行动断言——表达组织行动的约束/控制的规则。
    • Good: Declarative—what, not how, Precise—clear, agreed-upon meaning, Atomic—one statement,
  • 20
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值