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

边栏推荐
- [introduction to AUTOSAR seven tool chain]
- Excel calculates the difference between time and date and converts it into minutes
- 指针进阶(一)
- 测试右移:线上质量监控 ELK 实战
- Leetcode-241: designing priorities for operational expressions
- Basic use of sringcloud & use of component Nacos
- 1696C. Fishingprince Plays With Array【思维题 + 中间状态 + 优化存储】
- Leetcode-2115: find all the dishes that can be made from the given raw materials
- 攻克哈希的基本概念与实现
- MySQL basic usage 02
猜你喜欢

Basic use of sringcloud & use of component Nacos

【FPGA教程案例6】基于vivado核的双口RAM设计与实现

有向图的强连通分量

matlab 多普勒效应产生振动信号和处理

数学建模之线性规划(含MATLAB代码)

瑞萨RZ/G2L ARM开发板存储读写速度与网络实测

Esp32 simple speed message test of ros2 (limit frequency)

Cut point of undirected graph

Embrace the safety concept of platform delivery

Leetcode-2280: represents the minimum number of line segments of a line graph
随机推荐
Delete duplicate elements in the ordered linked list -ii
[case sharing] let the development of education in the new era advance with "number"
First hand evaluation of Reza electronics rz/g2l development board
12_ Implementation of rolling automatic video playback effect of wechat video number of wechat applet
Merge K sorted linked lists
递归处理组织的几种情况
这不平凡的两年,感谢我们一直在一起!
[AUTOSAR twelve mode management]
【FPGA教程案例6】基于vivado核的双口RAM设计与实现
Lu Zhe, chief scientist of Shiping information: building data and personnel centered security capabilities
[AUTOSAR XIII NVM]
攻克哈希的基本概念与实现
[AUTOSAR eight OS]
Thread start and priority
【爱死机】《吉巴罗》被忽略的细节
Reading and writing speed of Reza rz/g2l arm development board storage and network measurement
How to convert Quanzhi a40i/t3 to can through SPI
The difference between tail -f, tail -f and tail
Foundations of data science is free to download
拥抱平台化交付的安全理念