当前位置:网站首页>Three paradigms of database
Three paradigms of database
2022-07-05 11:05:00 【A little rabbit who likes radishes】
One 、 Database paradigm
- First normal form —— Atomicity
Each attribute in the data table can no longer be divided into smaller attributes
The above table , Commodities can also be divided into commodity name and quantity , This attribute does not conform to atomicity . - Second normal form
Every non primary attribute function depends on any candidate code ( Main attribute )
A relationship is a piece of data in a data table
Student number , The name can be used as the identification of any relationship in the table , But the name may repeat , Student No , So choose the student number as the main code .
Candidate codes are attributes in a relationship that can identify the relationship ( Main attribute : Student number , full name )
There are multiple candidate codes for the same relationship , You have to choose a main code - Third normal form
Nonprimary attributes are neither code dependent nor transitive , It's not part of the code .( Each non primary attribute is completely independent of any candidate code )
边栏推荐
- regular expression
- 数据类型 ntext 和 varchar 在not equal to 运算符中不兼容 -九五小庞
- 2022年化工自动化控制仪表考试试题及在线模拟考试
- Web3 Foundation grant program empowers developers to review four successful projects
- 2021 Shandong provincial competition question bank topic capture
- 九、磁盘管理
- deepfake教程
- 【广告系统】增量训练 & 特征准入/特征淘汰
- Lombok 同时使⽤@Data和@Builder 的坑,你中招没?
- Paradigm in database: first paradigm, second paradigm, third paradigm
猜你喜欢
[JS learning notes 54] BFC mode
小红书自研KV存储架构如何实现万亿量级存储与跨云多活
华为设备配置信道切换业务不中断
2022 Pengcheng cup Web
磨礪·聚變|知道創宇移動端官網煥新上線,開啟數字安全之旅!
Some understandings of heterogeneous graphs in DGL and the usage of heterogeneous graph convolution heterographconv
Explanation of message passing in DGL
9、 Disk management
Based on shengteng AI Aibi intelligence, we launched a digital solution for bank outlets to achieve full digital coverage of information from headquarters to outlets
Wechat nucleic acid detection appointment applet system graduation design completion (6) opening defense ppt
随机推荐
中职组网络安全C模块全漏洞脚本讲解包含4个漏洞的脚本
A usage example that can be compatible with various database transactions
DGL中异构图的一些理解以及异构图卷积HeteroGraphConv的用法
字符串、、
磨礪·聚變|知道創宇移動端官網煥新上線,開啟數字安全之旅!
Based on shengteng AI Yisa technology, it launched a full target structured solution for video images, reaching the industry-leading level
Explanation of message passing in DGL
Web3基金会「Grant计划」赋能开发者,盘点四大成功项目
R3Live系列学习(四)R2Live源码阅读(2)
2021 Shandong provincial competition question bank topic capture
跨页面通讯
[JS learning notes 54] BFC mode
使用GBase 8c数据库过程中报错:80000502,Cluster:%s is busy,是怎么回事?
流程控制、
Nuxt//
[JS] extract the scores in the string, calculate the average score after summarizing, compare with each score, and output
Process control
正则表达式
Implement the rising edge in C #, and simulate the PLC environment to verify the difference between if statement using the rising edge and not using the rising edge
Pull up loading principle