Entity Relationship Model / Relational Model and Normalization of Attributes -
i have following question. if have relation such
request = {[request_id: int,status: string,start_time: date]}
request_id primary attribute , status , start_time normal attributes.
if normalize status string int example ref_status table this.
status_id | status name
1 | new
2 | old
3 | finished
does through normalization attribute status become entity ?
attributes used characterize entity status-id @ same time foreign key different table though holds name hint me entity.
i glad if me out this.
thank in advance , hope question clear.
what you're describing introducing surrogate key status. has nothing normalization.
entities in chen's er model represented values, , status can interpreted entity regardless of whether it's represented int in 1 table or string in another.
Comments
Post a Comment