ER model - 1
ER model - 1
ER model이란
실제 세계의 정보들을 Entity, Attribute, Relation의 구조로 표현한 개념적 데이터 모델
Entity
단독으로 존재하는 객체. 엔티티들의 집합을 entity type이라고 하며 ER diagram에서 네모로 표시.
Attribute
엔티티가 가지는 속성. ER diagram에서 원으로 표시.
- Key Attribute: 다른 객체들과 다른 고유한 값을 가진 attribute, 밑줄로 표시.
- Composite Attribute: Attribute들이 모여서 만들어진 attribute.
- Multi-valued Attribute: 여러 개의 값을 가지는 attribute, 두 개의 원으로 표시.
- Derived Attribute: 다른 attribute로 부터 계산되어저 나온 attribute.
Relation
엔티티 타입간의 관계. ER diagram에서 마름모로 표시. 이 관계를 표현하는데에는 제약 조건을 명시함으로써 표현.
References
- https://victorydntmd.tistory.com/126
- https://dad-rock.tistory.com/373
- https://velog.io/@kchs94/%EB%8D%B0%EC%9D%B4%ED%84%B0%EB%B2%A0%EC%9D%B4%EC%8A%A4-ER-Model-%EA%B0%9C%EB%85%90%EC%A0%81-%EC%84%A4%EA%B3%84