数据库设计
- 多的对一和一对多,和多对多
- 多对一则设计两个表
- 多对多则设计三个表
| id |
name |
password |
| 1 |
xxx |
sss |
| 2 |
xxx |
sss |
| id |
title |
content |
| 1 |
xx |
xxxx |
| 2 |
xxx |
xxxx |
| id |
time |
content |
| 1 |
xx |
xx |
| 2 |
xxxx |
xxx |
Reprint policy:
All articles in this blog are used except for special statements
CC BY 4.0
reprint policy. If reproduced, please indicate source
pkq
!