Lec #4 - Part 4

Blue·2023년 10월 23일
0

좀더 구체화 되고 실제로 운용-> 정보를 보존하기 위해
structure 제약을 최대한 유지하고 NULL 을 최소화 하자.

The ER-Relational Mapping Algorithm

Step 1: Mapping of Regular Entity

Entity 식별할수 있는 KEy 는 Primary key 다.

Step 2: Mapping of Weak Entity Types

Weak Entity 는 혼자 존재할수가 없다. FK 가 관여된다.

Weak Entity 는 그 Entity 식별하기 위해 Partial Key 와 내가 누구로 부터 있는지 에 대한 Parent Key(FK) 가 있다.

Step 3: Mapping of Binary 1:1 Relationship Types

2개 Relation 을 사용한다.

Step 4: Mapping of Binary 1:N Relationship Types

Step 5: Mapping of Binary M:N Relationship Types

Step 6: Mapping of Multivalued Attributes

Step 7: Mapping of N-ary Relationship Types

profile
할수있다가 아닌 해야한다!!

0개의 댓글