当前位置:网站首页>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、实体名称和属性与数据库中的表名和字段对应。实体为数据库中表的名字,属性为数据库中的字段。
边栏推荐
- open3d学习笔记三【采样与体素化】
- 针对tqdm和print的顺序问题
- TimeCLR: A self-supervised contrastive learning framework for univariate time series representation
- Translation of the paper "written mathematical expression recognition with bidirectionally trained transformer"
- [in depth learning series (8)]: principles of transform and actual combat
- 【Mixup】《Mixup:Beyond Empirical Risk Minimization》
- 【Programming】
- 【Cutout】《Improved Regularization of Convolutional Neural Networks with Cutout》
- Daily practice (19): print binary tree from top to bottom
- 解决jetson nano安装onnx错误(ERROR: Failed building wheel for onnx)总结
猜你喜欢
【DIoU】《Distance-IoU Loss:Faster and Better Learning for Bounding Box Regression》
jetson nano安装tensorflow踩坑记录(scipy1.4.1)
Thesis writing tip2
ABM thesis translation
【Random Erasing】《Random Erasing Data Augmentation》
【Cascade FPD】《Deep Convolutional Network Cascade for Facial Point Detection》
【MagNet】《Progressive Semantic Segmentation》
Execution of procedures
CVPR19-Deep Stacked Hierarchical Multi-patch Network for Image Deblurring论文复现
ModuleNotFoundError: No module named ‘pytest‘
随机推荐
Graph Pooling 简析
Faster-ILOD、maskrcnn_ Benchmark installation process and problems encountered
C # connect to MySQL database
[C # note] the data in DataGridView saved in WinForm is excel and CSV
Summary of solving the Jetson nano installation onnx error (error: failed building wheel for onnx)
【Random Erasing】《Random Erasing Data Augmentation》
【Sparse-to-Dense】《Sparse-to-Dense:Depth Prediction from Sparse Depth Samples and a Single Image》
【Cutout】《Improved Regularization of Convolutional Neural Networks with Cutout》
Nacos service registration in the interface
C#与MySQL数据库连接
Eklavya -- infer the parameters of functions in binary files using neural network
Jetson nano installation tensorflow stepping pit record (scipy1.4.1)
Replace self attention with MLP
【Paper Reading】
Mmdetection model fine tuning
Semi supervised mixpatch
CONDA common commands
【Cascade FPD】《Deep Convolutional Network Cascade for Facial Point Detection》
【雙目視覺】雙目矯正
【Mixup】《Mixup:Beyond Empirical Risk Minimization》