heavensgate15
03-01-2010, 03:10 PM
How would I know what table to access (insert) given the category from a super entity. Example, I have an entity examination (super entity) which have the attribute of exam_id (primary key), patient_id from the patient table, and the examtype which served as a category. If the examtype is health exam, I will insert on the healthexam table (sub entity). If the examtype is radiology, I will insert on the radiology table (sub entity). If the examtype is alcohol test, I will insert on the alcoholtest table (sub entity).
How to use the examtype from a super entity, to insert to a specific table (sub entity) where each examtype has a corresponding table (sub entity)...?
How to use the examtype from a super entity, to insert to a specific table (sub entity) where each examtype has a corresponding table (sub entity)...?