当前位置:网站首页>【csnote】ER图
【csnote】ER图
2022-04-23 12:34:00 【白速龙王的回眸】
【ER图】
entity-relationship,有三个组成部分:实体、属性、链系
用来进行关系型dbs的概念设计
【实体的三种联系】
包括一对一、一对多、多对多三种
如果A到B是一对多关系,那么画个带箭头的线段指向B
如果是一对一,画两个带箭头的线段
如果是多对多,画两个不带箭头的线段
(被指着的是1?)
【表示出现多次的关系】
一个实体在链系出现几次,就要用几条线连接。
下图表示一个课程的先修关系,先修关系出现两个Course实体,第一个是先修后一个是后修,要用两条线表示这种关系:
【联系的多向性】
虽然老师可以开设多门课,并教授多个学生,对于特定的学生和课程只有一个老师教授,这就够成了三元联系
【表示子类】
用一个三角和两个线表示类和子类,与子类有关的属性和联系都连上去,而与父类和子类有关的都连父类
版权声明
本文为[白速龙王的回眸]所创,转载请带上原文链接,感谢
https://bridge-killer.blog.csdn.net/article/details/124361701
边栏推荐
猜你喜欢
bert-base-chinese下载(智取)
Fastjson 2 is coming, the performance continues to improve, and it can fight for another ten years
How to expand the capacity of the server in the 100 million level traffic architecture? Well written!
How do programmers finalize nucleic acid statistics with 130 lines of code
Fastjson 2 来了,性能继续提升,还能再战十年
XinChaCha Trust SSL Organization Validated
How do traditional enterprises cope with digital transformation? These books give you the answer
mysql中 innoDB执行过程分析
Recommended programming AIDS: picture tool snipaste
Pagoda panel command line help tutorial (including resetting password)
随机推荐
S2-062 remote command execution vulnerability recurrence (cve-2021-31805)
QT one process runs another
Source code analysis of synchronousqueue
SQL 练习(一)
QT draw text
AI 视频云 VS 窄带高清,谁是视频时代的宠儿
宝塔面板命令行帮助教程(包含重置密码)
洛谷P3236 [HNOI2014]画框 题解
STM32控制步进电机(ULN2003+28byj)
Here comes the detailed picture and text installation tutorial of H5 game
Idea database navigator plug-in
Fastjson 2 来了,性能继续提升,还能再战十年
Introduction to metalama 4 Use fabric to manipulate items or namespaces
After a circle, I sorted out this set of interview questions..
flask项目跨域拦截处理以及dbm数据库学习【包头文创网站开发】
数组---
Flash project cross domain interception and DBM database learning [Baotou cultural and creative website development]
第二十六课 类的静态成员函数
Why is the premise of hash% length = = hash & (length-1) that length is the nth power of 2
Next. JS static data generation and server-side rendering