Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
Leetfs committed Sep 13, 2024
1 parent 8e5792b commit 258b82d
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
25 changes: 24 additions & 1 deletion docs/zh/sql/02/02.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,27 @@ priority: 3

- 一对一 `1:1` (至多有一个实体与之联系)
- 一对多 `1:n`
- 多对多 `m:n`
- 多对多 `m:n`

##
# 概念模型的表示(ER 图 / 实体-关系图)

## 学生实体与课程实体间的联系

![ER图](./image.png)

## 实体

用矩形表示,例如“客户”、“订单”等。

## 属性

用椭圆形表示,连接到对应的实体或关系上,例如“客户姓名”、“订单日期”等。

## 关系

用菱形表示,连接两个或多个实体,例如“下订单”。

## 连线

表示实体与关系、属性与实体的连接。
2 changes: 1 addition & 1 deletion docs/zh/sql/02/03.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: 数据模型
title: 概念模型的表示
priority: 4
---

Expand Down
Binary file added docs/zh/sql/02/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 258b82d

Please sign in to comment.