I tried hard to understand myself but I think I really need kindof help understanding the entity-relationship concept.
I've been advised in one of the post earlier that there should be only one path to each table in ER process flow diagram and if there are more than one paths then design is not correct, and now I understand that this is certainly correct but I continuously see cases in training books and video that show more than one path to a table.
I'm attaching one similar diagram of this case where 'User' and 'Course' are connected via study table, but it is also connected via 'Teaches' table and it seems valid as well because someone has to teach the course. And there are other paths via 'Lecture' and 'Watches' table as well which looks quite applicable.
I'll be thankful if someone could explain how to make it work inside the actual database when we're creating real ER diagrams please. I tried to do so once and I horribly messed it up.
I've been advised in one of the post earlier that there should be only one path to each table in ER process flow diagram and if there are more than one paths then design is not correct, and now I understand that this is certainly correct but I continuously see cases in training books and video that show more than one path to a table.
I'm attaching one similar diagram of this case where 'User' and 'Course' are connected via study table, but it is also connected via 'Teaches' table and it seems valid as well because someone has to teach the course. And there are other paths via 'Lecture' and 'Watches' table as well which looks quite applicable.
I'll be thankful if someone could explain how to make it work inside the actual database when we're creating real ER diagrams please. I tried to do so once and I horribly messed it up.