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

边栏推荐
- Delete duplicate elements in the ordered linked list -ii
- excel去除小数点后面的数据,将数字取整
- In the first half of 2022, there are 10 worth seeing, and each sentence can bring you strength!
- Leetcode-241: designing priorities for operational expressions
- (C语言)数据的存储
- Trois tâches principales: asynchrone, courrier et timing
- Array and collection performance comparison
- How to convert Quanzhi a40i/t3 to can through SPI
- 信息熵的基础
- Key wizard hit strange learning - automatic path finding back to hit strange points
猜你喜欢

RISA rz/g2l processor introduction | frame diagram | power consumption | schematic diagram and hardware design guide

【爱死机】《吉巴罗》被忽略的细节

Excel if formula determines whether the two columns are the same

信息熵的基础
![leetcode:701. Insertion in binary search tree [BST insertion]](/img/bc/1dda73198488eb81b49be2c1dff6c2.png)
leetcode:701. Insertion in binary search tree [BST insertion]
![[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"

How to systematically learn machine learning
![[C language] branch and loop statements (Part 1)](/img/47/6efcc59bd26e26f66c698635c26c8b.png)
[C language] branch and loop statements (Part 1)

Leetcode-2280: represents the minimum number of line segments of a line graph
![[AUTOSAR twelve mode management]](/img/42/292e3da3f5d488a1e8c10ea9bbfbab.png)
[AUTOSAR twelve mode management]
随机推荐
Solve the cache problem of reactnative using WebView
1038 Recover the Smallest Number
按鍵精靈打怪學習-多線程後臺坐標識別
Lu Zhe, chief scientist of Shiping information: building data and personnel centered security capabilities
【FPGA教程案例6】基于vivado核的双口RAM设计与实现
[overview of AUTOSAR three RTE]
Leetcode-241: designing priorities for operational expressions
Leetcode-224: basic calculator
Compare version number
Thank you for being together for these extraordinary two years!
这不平凡的两年,感谢我们一直在一起!
Meaning of Tencent cloud free SSL certificate extension file
关于Fibonacci数列
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 "number"
2022.2.14 resumption
matlab查找某一行或者某一列在矩阵中的位置
[shutter] image component (configure local GIF image resources | load placeholder with local resources)
Merge K sorted linked lists
MongoDB系列之MongoDB常用命令