当前位置:网站首页>E-R draw clear content
E-R draw clear content
2022-07-02 07:57:00 【Ren yabing】
About E-R chart , The relationship between data tables should be clear , Be clear , What is the function of each table , What is the relationship between tables
One 、 What is? E-R chart ?
E-R Graphs are also called entities - Contact diagram (Entity Relationship Diagram), Provides representation entity types 、 Properties and contact methods , A conceptual model used to describe the real world
Two 、 Part of the :
Entity : It is generally believed , What can be objectively distinguished from each other is the entity , Entities can be concrete people and things , It can also be abstract concepts and connections . Use a rectangle to represent
attribute : A property of an entity , An entity can be characterized by several attributes . Attributes cannot be detached from entities , Attributes are relative to entities . For the main attribute name , Underline its name
contact : It also has a relationship , The information world reflects the relationship within or between entities . The relationship within an entity usually refers to the relationship between the attributes that make up the entity ; The relationship between entities usually refers to the relationship between different sets of entities
3、 ... and 、E-R The standard of the diagram should be very clear , The primary key and other keys in each table should be clear distinguish , Make rational use of the storage capacity of the database , Improve the reading and saving speed of the database
Four 、 step :
1、 Identify all entity sets ;
2、 Select the attributes that the entity set should contain
3、 Determine the relationship between entity sets
4、 Determine the primary key of the entity set , Underline the attributes to indicate the attribute combination of the primary key
5、 Determine the type of contact , When a diamond box representing a connection is connected to an entity set with a line , Note next to the line is 1 or n( many ) To indicate the type of connection
Acceptance criteria :
1、 Express words accurately , The entity is a noun , Connection is a verb .
2、 Whether the graphics are used accurately , See above .
3、 The relationship between entities is correct , For example, the relationship between students and courses is many to many .
4、 Entity names and attributes correspond to table names and fields in the database . The entity is the name of the table in the database , Property is a field in the database .
边栏推荐
猜你喜欢
[CVPR‘22 Oral2] TAN: Temporal Alignment Networks for Long-term Video
【雙目視覺】雙目矯正
论文写作tip2
How to clean up logs on notebook computers to improve the response speed of web pages
[CVPR‘22 Oral2] TAN: Temporal Alignment Networks for Long-term Video
【Cutout】《Improved Regularization of Convolutional Neural Networks with Cutout》
将恶意软件嵌入到神经网络中
Replace self attention with MLP
How do vision transformer work?【论文解读】
图像增强的几个方法以及Matlab代码
随机推荐
TimeCLR: A self-supervised contrastive learning framework for univariate time series representation
Faster-ILOD、maskrcnn_ Benchmark training coco data set and problem summary
【MagNet】《Progressive Semantic Segmentation》
【Mixed Pooling】《Mixed Pooling for Convolutional Neural Networks》
Apple added the first iPad with lightning interface to the list of retro products
Hystrix dashboard cannot find hystrix Stream solution
open3d学习笔记五【RGBD融合】
What if the laptop can't search the wireless network signal
将恶意软件嵌入到神经网络中
【BiSeNet】《BiSeNet:Bilateral Segmentation Network for Real-time Semantic Segmentation》
Solve the problem of latex picture floating
I'll show you why you don't need to log in every time you use Taobao, jd.com, etc?
【AutoAugment】《AutoAugment:Learning Augmentation Policies from Data》
论文写作tip2
Prompt 范式简述
【双目视觉】双目矫正
Daily practice (19): print binary tree from top to bottom
Timeout docking video generation
Win10+vs2017+denseflow compilation
【Random Erasing】《Random Erasing Data Augmentation》