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

边栏推荐
- Matlab Doppler effect produces vibration signal and processing
- Mongodb common commands of mongodb series
- Infrared thermography temperature detection system based on arm rk3568
- 18_ The wechat video number of wechat applet scrolls and automatically plays the video effect to achieve 2.0
- MySQL basic usage 02
- How to convert Quanzhi a40i/t3 to can through SPI
- Key wizard hit strange learning - automatic path finding back to hit strange points
- 机器学习术语
- 【FH-GFSK】FH-GFSK信号分析与盲解调研究
- Reading and writing speed of Reza rz/g2l arm development board storage and network measurement
猜你喜欢

Data analysis, thinking, law breaking and professional knowledge -- analysis method (I)

12_微信小程序之微信视频号滚动自动播放视频效果实现

Thank you for being together for these extraordinary two years!

研发一款国产ARM智能边缘计算网关需要什么

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

The arm core board / development board of Feiling equipped with Ti am62x made its debut in embedded world 2022

Matlab Doppler effect produces vibration signal and processing

Assets, vulnerabilities, threats and events of the four elements of safe operation

Reading and writing speed of Reza rz/g2l arm development board storage and network measurement

数据分析思维分析犯法和业务知识——分析方法(一)
随机推荐
MySQL基础用法02
[love crash] neglected details of gibaro
The difference between relational database and non relational database
数据分析思维分析犯法和业务知识——分析方法(一)
[overview of AUTOSAR four BSW]
Solve the cache problem of reactnative using WebView
Deep analysis of data storage in memory
ROS2之ESP32简单速度消息测试(极限频率)
Several cases of recursive processing organization
excel去除小数点后面的数据,将数字取整
R language uses coin package to apply permutation tests to independence problems (permutation tests, whether response variables are independent of groups, are two numerical variables independent, and
Test shift right: Elk practice of online quality monitoring
异步、邮件、定时三大任务
按键精灵打怪学习-自动寻路回打怪点
链表内指定区间反转
Matlab saves the digital matrix as geospatial data, and the display subscript index must be of positive integer type or logical type. Solve the problem
Mongodb common commands of mongodb series
按鍵精靈打怪學習-多線程後臺坐標識別
Foundations of data science is free to download
Linear programming of mathematical modeling (including Matlab code)