mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-27 14:54:05 -06:00
vault backup: 2022-09-22 11:09:01
This commit is contained in:
parent
2042d24977
commit
9fba6d236d
@ -4,6 +4,9 @@ aliases:
|
|||||||
tags:
|
tags:
|
||||||
- cosc203
|
- cosc203
|
||||||
- lecture
|
- lecture
|
||||||
|
sr-due: 2022-09-25
|
||||||
|
sr-interval: 3
|
||||||
|
sr-ease: 250
|
||||||
---
|
---
|
||||||
|
|
||||||
# What is a database
|
# What is a database
|
||||||
@ -118,9 +121,20 @@ relationship types can have attributes
|
|||||||
- marked by single line
|
- marked by single line
|
||||||
- relationsihp is not required
|
- relationsihp is not required
|
||||||
|
|
||||||
## weak entities
|
|
||||||
- regular tyupes
|
|
||||||
|
|
||||||

|

|
||||||

|

|
||||||
|
|
||||||
|
## weak entities
|
||||||
|
- regular types have key attributes
|
||||||
|
|
||||||
|
- weak types do not have their own key attributes
|
||||||
|
- they are identified by their relationship with another entity
|
||||||
|
- this creates and identifying relationship
|
||||||
|
- must have a total participation constraint
|
||||||
|
- the other entity type is called the identifying or owner entity type
|
||||||
|
- denoted by double lined rectable and double lined diamond
|
||||||
|
- have a partial key
|
||||||
|
- a set of attributes that uniquiely identify the weak entities that are related to the same owner entity
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user