当前位置:网站首页>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.
边栏推荐
- 按键精灵打怪学习-多线程后台坐标识别
- R language generalized linear model function GLM, (model fit and expression diagnostics), model adequacy evaluation method, use plot function and car package function
- Key wizard hit strange learning - automatic path finding back to hit strange points
- Leetcode-934: the shortest Bridge
- excel IF公式判断两列是否相同
- 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
- [AUTOSAR XIII NVM]
- Kivy教程大全之如何在 Kivy 中创建下拉列表
- Foundations of data science is free to download
- 合并K个已排序的链表
猜你喜欢
每日一题之干草堆的移动
安全运营四要素之资产、脆弱性、威胁和事件
【FH-GFSK】FH-GFSK信号分析与盲解调研究
瑞萨RZ/G2L ARM开发板存储读写速度与网络实测
Excel if formula determines whether the two columns are the same
FPGA - 7系列 FPGA内部结构之Clocking -04- 多区域时钟
Linear programming of mathematical modeling (including Matlab code)
异步、邮件、定时三大任务
[shutter] image component (configure local GIF image resources | load placeholder with local resources)
Rk3568 development board evaluation (II): development environment construction
随机推荐
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
Array and collection performance comparison
Initial order of pointer (basic)
按鍵精靈打怪學習-多線程後臺坐標識別
[overview of AUTOSAR three RTE]
[flutter] icons component (fluttericon Download Icon | customize SVG icon to generate TTF font file | use the downloaded TTF icon file)
1038 Recover the Smallest Number
Kivy教程大全之如何在 Kivy 中创建下拉列表
matlab 多普勒效应产生振动信号和处理
RK3568开发板评测篇(二):开发环境搭建
Usage of using clause in kingbases alter table
What is needed to develop a domestic arm intelligent edge computing gateway
MySQL
[AUTOSAR five methodology]
[AUTOSAR eight OS]
leetcode:701. 二叉搜索树中的插入操作【bst的插入】
How to systematically learn machine learning
In the first half of 2022, there are 10 worth seeing, and each sentence can bring you strength!
(C language) data storage
[AUTOSAR nine c/s principle Architecture]