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

边栏推荐
- Machine learning: numpy version linear regression predicts Boston house prices
- 链表内指定区间反转
- 【C语言】分支和循环语句(上)
- Advanced pointer (I)
- R language ggplot2 visualization: use ggplot2 to display dataframe data that are all classified variables in the form of thermal diagram, and customize the legend color legend of factor
- 18_ The wechat video number of wechat applet scrolls and automatically plays the video effect to achieve 2.0
- 拥抱平台化交付的安全理念
- Draw love with go+ to express love to her beloved
- 按键精灵打怪学习-多线程后台坐标识别
- kivy教程之在 Kivy App 中使用 matplotlib 的示例
猜你喜欢

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

数据分析思维分析犯法和业务知识——分析方法(一)
![[AUTOSAR II appl overview]](/img/da/76ccc05e2199705b20d8304bfb86b2.png)
[AUTOSAR II appl overview]

Win10 can't be installed in many ways Problems with NET3.5

excel去除小数点后面的数据,将数字取整

异步、邮件、定时三大任务

信息熵的基础

Deep analysis of data storage in memory

Key detection and sinusoidal signal output developed by Arduino

详解RDD基本概念、RDD五大属性
随机推荐
【C语言】分支和循环语句(上)
Leetcode-1964: find the longest effective obstacle race route to each position
In the first half of 2022, there are 10 worth seeing, and each sentence can bring you strength!
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
Thank you for being together for these extraordinary two years!
18_微信小程序之微信视频号滚动自动播放视频效果实现2.0
瑞萨RZ/G2L ARM开发板存储读写速度与网络实测
拥抱平台化交付的安全理念
【FPGA教程案例6】基于vivado核的双口RAM设计与实现
MongoDB系列之MongoDB常用命令
Embrace the safety concept of platform delivery
[AUTOSAR five methodology]
(C语言)数据的存储
Lu Zhe, chief scientist of Shiping information: building data and personnel centered security capabilities
Specified interval inversion in the linked list
Appuyez sur l'apprentissage de l'esprit de frappe - reconnaissance des coordonnées de fond multithreadées
Merge K sorted linked lists
Solve the cache problem of reactnative using WebView
1696C. Fishingprince Plays With Array【思维题 + 中间状态 + 优化存储】
Explain the basic concepts and five attributes of RDD in detail