当前位置:网站首页>MySQL foundation 04 MySQL architecture
MySQL foundation 04 MySQL architecture
2022-07-03 01:12:00 【Super brother 1986】
Basic concepts :
• database : A database is a collection of related tables .
• Data sheet : A table is a matrix of data . A table in a database looks like a simple spreadsheet .
• Column : A column of ( data elements ) Contains the same type of data , For example, postal code data .
• That's ok : a line (= Tuples , Or record ) It's a set of related data , For example, a data subscribed by a user .
• Primary key : The primary key is unique . A data table can only contain one primary key . You can use the primary key to query data .
• Foreign keys : Foreign keys are used to associate two tables .
MySQL Is a relational database (Relational Database Management System), This so-called " Relational type " You can understand
by " form " The concept of , A relational database consists of one or more tables , A table as shown in the figure :
Student information of a class 
Logistics structure :

ER chart
Entity Is the data object in the data model , For example, in e-commerce business , goods 、 Order 、 Categories can be used as a data object , draw The diagram is represented by a rectangle .
1 Yes 1(1:1),1 Yes 1 Relationships are for entities A And entities B Come on ,A There's only one B,B It can only correspond to one A.
1 For more than (1:N),1 Many refers to entities A It can correspond to multiple entities B, But entities B There's only one A.
Many to many (N:N), Many to many refers to entities A It can correspond to multiple entities B, Entity B It can also correspond to multiple entities A.

边栏推荐
- Compare version number
- Solve the cache problem of reactnative using WebView
- [AUTOSAR nine c/s principle Architecture]
- FPGA - 7系列 FPGA内部结构之Clocking -04- 多区域时钟
- In the first half of 2022, there are 10 worth seeing, and each sentence can bring you strength!
- R language ggplot2 visual faceting, visual facet_wrap bar plot, using strip Text function customize the size of the strip of each facet title in the facet graph (cutimi
- Key detection and sinusoidal signal output developed by Arduino
- 瑞萨RZ/G2L 处理器简介|框架图|功耗|原理图及硬件设计指南
- [AUTOSAR eight OS]
- 链表中的节点每k个一组翻转
猜你喜欢

Deep analysis of data storage in memory

电话网络问题

有向图的强连通分量
![leetcode:871. Minimum refueling times [Pat has done before + maximum stacking + greed]](/img/2c/8ec3926243fac8db9ed45d8053f3af.png)
leetcode:871. Minimum refueling times [Pat has done before + maximum stacking + greed]

无向图的割点
![[case sharing] let the development of education in the new era advance with](/img/11/af88d16dc66f00840cbfc5ba5d68bd.jpg)
[case sharing] let the development of education in the new era advance with "number"

飞凌搭载TI AM62x的ARM核心板/开发板首发上市,亮相Embedded World 2022

瑞萨RZ/G2L 处理器简介|框架图|功耗|原理图及硬件设计指南

ROS2之ESP32简单速度消息测试(极限频率)

Basic use of sringcloud & use of component Nacos
随机推荐
[flutter] icons component (fluttericon Download Icon | customize SVG icon to generate TTF font file | use the downloaded TTF icon file)
Meibeer company is called "Manhattan Project", and its product name is related to the atomic bomb, which has caused dissatisfaction among Japanese netizens
Advanced pointer (I)
有向图的强连通分量
The difference between relational database and non relational database
【爱死机】《吉巴罗》被忽略的细节
RISA rz/g2l processor introduction | frame diagram | power consumption | schematic diagram and hardware design guide
[AUTOSAR nine c/s principle Architecture]
异步、郵件、定時三大任務
Explain the basic concepts and five attributes of RDD in detail
Strongly connected components of digraph
Asynchronous, email and scheduled tasks
18_微信小程序之微信视频号滚动自动播放视频效果实现2.0
机器学习术语
Initial order of pointer (basic)
[shutter] image component (configure local GIF image resources | load placeholder with local resources)
12_微信小程序之微信视频号滚动自动播放视频效果实现
关于Fibonacci数列
Machine learning: numpy version linear regression predicts Boston house prices
Usage of using clause in kingbases alter table