当前位置:网站首页>[database] conceptual design, logical design, relational database design theory
[database] conceptual design, logical design, relational database design theory
2022-07-25 21:28:00 【Master Hao】
One : conceptual design :
ER Model : Entity attributes and connections
Entities and entity sets :
Properties of entities : Attributes and entities are nouns :
demand –》ER chart :
Attributes cannot be further divided , An entity can consist of multiple attributes .
Same kind of connection :


The basic relationship between entities and derived entities :

As shown in the figure above , Connection also has its own attributes .





Associated Nominalization :
ER In the figure , Every entity , Must have entity identifiers , Artificially increase information for borrowing ID.

Two 、 logic design 


Each entity is transformed into 1 A relationship model
1:1, stay 1 One side joins the foreign key of the other side .
Combined the primary key , And foreign keys 


3、 ... and 、UML Do conceptual and logical design :







Logic design tools : Relational database design theory




F It's functional dependency .
Between attributes 1 Yes 1 Relationship , Is functional dependency .


Only satisfaction 1NF, Relational database 











Decomposition should not compromise information and relational dependencies 
attach : View :
Views do not store data , It's a virtual table , It's from 1 Take data from one or several tables , The view only defines data retrieval rules .
边栏推荐
- 工作面试总遇秒杀? 看了京东 T8 大咖私藏的秒杀系统笔记, 已献出膝盖
- Stm3 (cubeide) lighting experiment
- yuv422转rgb(422sp转420p)
- All non isomorphic subgraphs of a directed complete graph of order 3 (number of different hook graphs)
- 图片怎么存储到数据库里「建议收藏」
- Detailed explanation of JVM memory model and structure (five model diagrams)
- Trusted and controllable way of Tencent cloud database
- Niuke-top101-bm38
- Reading the pointpillar code of openpcdet -- Part 3: Calculation of loss function
- 测试用例和缺陷报告模板
猜你喜欢

Vivo official website app full model UI adaptation scheme

Debugged PEB (beingdebugged, ntglobalflag)

Focus on data | Haitai Fangyuan directly hits the construction idea of data security governance in the securities industry

919. 完全二叉树插入器 : 简单 BFS 运用题

Vivo official website app full model UI adaptation scheme

零基础学习CANoe Panel(17)—— Panel CAPL Function

Qixin Jushi cloud spectrum new chapter | Haitai Fangyuan and Sichuan Unicom reach ecological strategic cooperation
![[ManageEngine] value brought by Siem to enterprises](/img/1e/56d64d193e0428523418bef5e98866.png)
[ManageEngine] value brought by Siem to enterprises

Too many passwords, don't know how to record? Why don't you write a password box applet yourself

Detailed explanation of JVM memory model and structure (five model diagrams)
随机推荐
Per capita Swiss number series, Swiss number 4 generation JS reverse analysis
字节一面:TCP 和 UDP 可以使用同一个端口吗?
Airtest解决“自动装包”过程中需要输入密码的问题(同适用于随机弹框处理)
In depth understanding of seven specific ways to enhance code scalability
My heart's broken! After being cheated by 30000, a 16-year-old girl was unconvinced and cheated by 50000
919. 完全二叉树插入器 : 简单 BFS 运用题
mysql8.0 mha实现高可用《mha》
LeetCode刷题——猜数字大小II#375#Medium
npm 模块 移除_【已解决】npm卸载模块后该模块并没有从package.json中去掉[通俗易懂]
NVIDIA has opened source a comprehensive library of 3D deep learning based on pytorch
函数栈帧的创建和销毁
Rent two or three things
How to store pictures in the database "suggested collection"
Vivo official website app full model UI adaptation scheme
Programmer's Guide to health quenching 5: introduction to sports Basics
Pychart automatically enters the test mode when running the program
zigbee物联网开发平台(工业物联网)
Naming rules for BSP of Quanzhi chip
牛客-TOP101-BM38
接口测试工具 restlet client