当前位置:网站首页>[csnote] ER diagram
[csnote] ER diagram
2022-04-23 12:37:00 【Review of the white speed Dragon King】
【ER chart 】
entity-relationship, There are three components : Entity 、 attribute 、 Chain system
Used for relational dbs The conceptual design of
【 Three connections of entities 】
Including one-on-one 、 One to many 、 Many to many three
If A To B It's a one to many relationship , Then draw a line with an arrow pointing to B
If it's one-on-one , Draw two lines with arrows
If it's many to many , Draw two lines without arrows
( Pointed at 1?)
【 It means that there are many relationships 】
How many times does an entity appear in the chain , It's going to take a couple of lines to connect .
The following figure shows the prerequisite relationship of a course , There are two in the priori relationship Course Entity , The first is to repair first, and the second is to repair later , Two lines should be used to represent this relationship :
【 The multidirectionality of connections 】
Although teachers can offer many courses , And teach multiple students , For specific students and courses, only one teacher teaches , This is enough to become a ternary connection
【 Denotes a subclass 】
Use a triangle and two lines to represent classes and subclasses , The attributes and connections related to subclasses are connected , And related to parent and child classes, even the parent class
版权声明
本文为[Review of the white speed Dragon King]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231233448304.html
边栏推荐
- BUUCTF WEB [BJDCTF2020]The mystery of ip
- 甲辰篇 創世紀《「內元宇宙」聯載》
- S2-062 远程命令执行漏洞复现(cve-2021-31805)
- MySQL function - recursive function
- Buuctf Web [gxyctf2019] no dolls
- Qt一个进程运行另一个进程
- What are the forms of attack and tampering on the home page of the website
- Qt绘制图像
- Lesson 25 static member variables of classes
- How to solve the computer system card?
猜你喜欢
CGC: contractual graph clustering for community detection and tracking
mysql中 innoDB执行过程分析
What are the forms of attack and tampering on the home page of the website
The database navigator uses the default MySQL connection prompt: the server time zone value 'Ö Ð¹ ú±ê ×¼ ʱ ¼ ä’ is unrecognized or repres
31岁才转行程序员,目前34了,我来说说我的经历和一些感受吧...
如何防止网站被黑客入侵篡改
leetcode:437. 路径总和 III【dfs 选还是不选?】
Qt进程间通信
Can I take the CPDA data analyst certificate for 0 foundation
One way ANOVA of SPSS
随机推荐
Lesson 25 static member variables of classes
Qt一个进程运行另一个进程
31岁才转行程序员,目前34了,我来说说我的经历和一些感受吧...
免费试用一个月的服务器,并附上教程
worder字体网页字体对照表
为什么要有包装类,顺便说一说基本数据类型、包装类、String类该如何转换?
Stacks and queues a
Kubernetes 入門教程
【Redis 系列】redis 学习十三,Redis 常问简单面试题
Uni app native app cloud packaging integrated Aurora push (jg-jpush) detailed tutorial
AI video cloud vs narrowband HD, who is the darling of the video era
NBIOT的AT指令
SSL证书退款说明
Windows2008系统如何切换PHP版本
Pagoda panel command line help tutorial (including resetting password)
On using go language to create websocket service
uni-app 原生APP-本地打包集成极光推送(JG-JPUSH)详细教程
Everything can be expected in the future | one 2022 campus recruitment officially opened
[redis series] redis learning 13. Redis often asks simple interview questions
C, calculation code of parameter points of two-dimensional Bezier curve