다음 엔티티가있는 e-r 모델이 있습니다 : Doctor, Patient, Human
이고 Doctor -> Human
과 Patient -> Human
사이의 생성 관계가 있습니다. 관계 모델을 만들려고합니다. 그래서 어느 모델이 맞습니까? 첫 번째 모델입니까, 두 번째 모델입니까?er 모델 -> 관계형 모델 (데이터베이스)
1)
Human (Name, Surname, Sex, Address)
Doctor(License number, specification)
Patient(Insurance number, diagnosis)
2)
Doctor(Name, Surname, Sex, Address, License number, specification)
Patient(Name, Surname, Sex, Address, Insurance number, diagnosis)
및 인간 necesarry되지 엔티티.
P. 관계형 모델에 익숙하지 않습니다.