mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-24 06:55:42 -05:00
vault backup: 2022-10-24 22:15:58
This commit is contained in:
parent
c8e4ebf682
commit
1869f32362
@ -66,7 +66,6 @@ three notations
|
|||||||

|

|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
# how to model
|
# how to model
|
||||||
## entities
|
## entities
|
||||||
- a thing in the real world with independent existence
|
- a thing in the real world with independent existence
|
||||||
|
|||||||
@ -6,3 +6,18 @@ tags:
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
Entity: a thing in the real world with *independent existence* (phsyical e.g., person or conceptual e.g., job)
|
||||||
|
Entity type: A collection of entities
|
||||||
|
|
||||||
|
Attribute: properties of entity
|
||||||
|
Attibute types:
|
||||||
|
- simple/composite
|
||||||
|
- single/multi valued
|
||||||
|
- stored/derived
|
||||||
|
- key (simple or composite)
|
||||||
|
|
||||||
|
Relationship: when one entity refers to another
|
||||||
|
Relationship type: a set of relationships with the same entity types
|
||||||
|
- relationships can have attributes
|
||||||
|
- relationships haveL
|
||||||
|
|
||||||
|
|||||||
@ -5,11 +5,15 @@ tags:
|
|||||||
- cosc203
|
- cosc203
|
||||||
---
|
---
|
||||||
|
|
||||||
# ER Diagram
|
# Modelling
|
||||||
|
Database: integrated collection of data
|
||||||
|
- meaning
|
||||||
|
- specific purpose
|
||||||
|
|
||||||
[ER Diagram](notes/ER-Diagram)
|
[ER Diagram](notes/ER-Diagram)
|
||||||
|
[Schemas](notes/Schemas)
|
||||||
|
|
||||||
# Normal Forms
|
# Normal Forms
|
||||||
[Normal Forms](notes/Normal-Forms)
|
[Normal Forms](notes/Normal-Forms)
|
||||||
# Schemas
|
|
||||||
[Schemas](notes/Schemas)
|
|
||||||
# SQL
|
# SQL
|
||||||
[SQL](notes/SQL)
|
[SQL](notes/SQL)
|
||||||
Loading…
Reference in New Issue
Block a user