当前位置:网站首页>E-R画图明确内容
E-R画图明确内容
2022-07-02 06:27:00 【任亚兵】
关于E-R图,数据表之间的关系关系要清楚明确,要明确,每个表有什么作用,表之间有什么关联关系等内容
一、什么是E-R图?
E-R图也称实体-联系图(Entity Relationship Diagram),提供了表示实体类型、属性和联系的方法,用来描述现实世界的概念模型
二、组成部分:
实体 :一般认为,客观上可以相互区分的事物就是实体,实体可以是具体的人和物,也可以是抽象的概念与联系。使用矩形表示
属性 :实体所具有的某一特性,一个实体可由若干个属性来刻画。属性不能脱离实体,属性是相对实体而言的。对于主属性名,则在其名称下划一下划线
联系:也成关系,信息世界中反映实体内部或实体之间的关联。实体内部的联系通常是指组成实体的各属性之间的联系;实体之间的联系通常是指不同实体集之间的联系
三、E-R图的标准要明确非常明确,每个表中主键和其他键要明确 区分,合理利用数据库的存储能力,提高数据库的读取存入速度
四、步骤:
1、确定所有的实体集合;
2、选择实体集应包含的属性
3、确定实体集之间的联系
4、确定实体集的主键,用下划线在属性上表明主键的属性组合
5、确定联系的类型,在用线将表示联系的菱形框联系到实体集时,在线旁注明是1或n(多)来表示联系的类型
验收标准:
1、词汇表达准确,实体为名词,联系为动词。
2、图形使用是否准确,见上文。
3、实体之间的关系正确,如学生与课程之间的关系为多对多。
4、实体名称和属性与数据库中的表名和字段对应。实体为数据库中表的名字,属性为数据库中的字段。
边栏推荐
- 图像增强的几个方法以及Matlab代码
- 【Mixup】《Mixup:Beyond Empirical Risk Minimization》
- Label propagation
- Hystrix dashboard cannot find hystrix Stream solution
- 用于类别增量学习的动态可扩展表征 -- DER
- TimeCLR: A self-supervised contrastive learning framework for univariate time series representation
- Summary of solving the Jetson nano installation onnx error (error: failed building wheel for onnx)
- 【雙目視覺】雙目矯正
- Implementation of yolov5 single image detection based on onnxruntime
- 【Random Erasing】《Random Erasing Data Augmentation》
猜你喜欢

Semi supervised mixpatch

jetson nano安装tensorflow踩坑记录(scipy1.4.1)

Graph Pooling 简析

【DIoU】《Distance-IoU Loss:Faster and Better Learning for Bounding Box Regression》

【Sparse-to-Dense】《Sparse-to-Dense:Depth Prediction from Sparse Depth Samples and a Single Image》
![[learning notes] matlab self compiled Gaussian smoother +sobel operator derivation](/img/f1/4afde3a4bf01254b3e3ff8bc659f9c.png)
[learning notes] matlab self compiled Gaussian smoother +sobel operator derivation

MoCO ——Momentum Contrast for Unsupervised Visual Representation Learning

将恶意软件嵌入到神经网络中

【学习笔记】反向误差传播之数值微分

【Mixed Pooling】《Mixed Pooling for Convolutional Neural Networks》
随机推荐
【MobileNet V3】《Searching for MobileNetV3》
【MnasNet】《MnasNet:Platform-Aware Neural Architecture Search for Mobile》
MMDetection安装问题
【MobileNet V3】《Searching for MobileNetV3》
ModuleNotFoundError: No module named ‘pytest‘
[learning notes] numerical differentiation of back error propagation
Faster-ILOD、maskrcnn_ Benchmark training coco data set and problem summary
Mmdetection installation problem
conda常用命令
Jetson nano installation tensorflow stepping pit record (scipy1.4.1)
TimeCLR: A self-supervised contrastive learning framework for univariate time series representation
Nacos service registration in the interface
What if the laptop task manager is gray and unavailable
Implementation of yolov5 single image detection based on onnxruntime
[in depth learning series (8)]: principles of transform and actual combat
【MagNet】《Progressive Semantic Segmentation》
Faster-ILOD、maskrcnn_ Benchmark trains its own VOC data set and problem summary
【BiSeNet】《BiSeNet:Bilateral Segmentation Network for Real-time Semantic Segmentation》
One book 1078: sum of fractional sequences
【Programming】