当前位置:网站首页>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.

边栏推荐
- Thank you for being together for these extraordinary two years!
- [AUTOSAR II appl overview]
- 关于Fibonacci数列
- 18_微信小程序之微信视频号滚动自动播放视频效果实现2.0
- Strongly connected components of digraph
- [shutter] animation animation (shutter animation type | the core class of shutter animation)
- 数学建模之线性规划(含MATLAB代码)
- leetcode:701. 二叉搜索树中的插入操作【bst的插入】
- [AUTOSAR I overview]
- Leetcode-871: minimum refueling times
猜你喜欢

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

(C language) data storage
![[AUTOSAR 11 communication related mechanism]](/img/bf/834b0fad3a3e5bd9c1be04ba150f98.png)
[AUTOSAR 11 communication related mechanism]
![[AUTOSAR VI description document]](/img/3d/1382acbc4054ab218485a12b7b4e6b.png)
[AUTOSAR VI description document]

FPGA - 7系列 FPGA内部结构之Clocking -04- 多区域时钟

1696C. Fishingprince Plays With Array【思维题 + 中间状态 + 优化存储】

【FH-GFSK】FH-GFSK信号分析与盲解调研究

数据分析思维分析犯法和业务知识——分析方法(一)

Strongly connected components of digraph

leetcode:701. 二叉搜索树中的插入操作【bst的插入】
随机推荐
MySQL
[AUTOSAR XIII NVM]
Inversion de l'intervalle spécifié dans la liste des liens
JS inheritance and prototype chain
FPGA - 7系列 FPGA内部结构之Clocking -04- 多区域时钟
12_微信小程序之微信视频号滚动自动播放视频效果实现
Array and collection performance comparison
链表中的节点每k个一组翻转
这不平凡的两年,感谢我们一直在一起!
【FPGA教程案例5】基于vivado核的ROM设计与实现
瑞萨RZ/G2L 处理器简介|框架图|功耗|原理图及硬件设计指南
18_微信小程序之微信视频号滚动自动播放视频效果实现2.0
12_ Implementation of rolling automatic video playback effect of wechat video number of wechat applet
Leetcode-2115: find all the dishes that can be made from the given raw materials
Find a benchmark comrade in arms | a million level real-time data platform, which can be used for free for life
Leetcode-1964: find the longest effective obstacle race route to each position
1696C. Fishingprince Plays With Array【思维题 + 中间状态 + 优化存储】
leetcode:871. Minimum refueling times [Pat has done before + maximum stacking + greed]
关于Fibonacci数列
链表内指定区间反转