当前位置:网站首页>[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
边栏推荐
- Luogu p5540 [balkanoi2011] timeismoney | minimum product spanning tree problem solution
- 编程辅助工具推荐:图片工具snipaste
- 解决disagrees about version of symbol device_create
- worder字体网页字体对照表
- Jiachen chapter Genesis "inner universe" joint Edition
- bert-base-chinese下载(智取)
- A graphic designer's fantasy world | ones characters
- Qt一个进程运行另一个进程
- 程序员如何用130行代码敲定核酸统计
- Stm32cubeprogrammer basic instructions
猜你喜欢
Plato farm - a game of farm metauniverse with Plato as the goal
STM32工程移植:不同型号芯片工程之间的移植:ZE到C8
在 VSCode 中调试 Jest 的测试用例,VSCode调试Jest测试用例报错basedir=$(dirname “$(echo “$0“ | sed -e ‘s,\\,/,g‘)“)解决
实现一个盒子在父盒子中水平垂直居中的几种“姿势”
QT draw image
NPDP|产品经理如何做到不会被程序员排斥?
【每日一题】棋盘问题
【vulnhub靶场】-dc2
Basic software testing Day2 - Case Execution
Everything can be expected in the future | one 2022 campus recruitment officially opened
随机推荐
Flash project cross domain interception and DBM database learning [Baotou cultural and creative website development]
Markdown语法学习
php生成json处理中文
在 VSCode 中调试 Jest 的测试用例,VSCode调试Jest测试用例报错basedir=$(dirname “$(echo “$0“ | sed -e ‘s,\\,/,g‘)“)解决
In idea Solution to the problem of garbled code in Chinese display of properties file
[redis series] redis learning 13. Redis often asks simple interview questions
编程辅助工具推荐:图片工具snipaste
万事有你 未来可期 | ONES 2022校园招聘正式开启
C, calculation code of parameter points of two-dimensional Bezier curve
Solution of asynchronous clock metastability -- multi bit signal
Number of nodes of complete binary tree
How much does software testing help reduce program bugs?
Recommended programming AIDS: picture tool snipaste
BUUCTF WEB [BJDCTF2020]ZJCTF,不过如此
QT draw text
宝塔面板命令行帮助教程(包含重置密码)
对称加密、证书加密
Symmetric encryption, certificate encryption
没有空闲服务器?导入 OVF 镜像快速体验 SmartX 超融合社区版
洛谷P3236 [HNOI2014]画框 题解