The intermediate relationship table N to N is the table generated in the conceptual-logical mapping of cardinalities N to N. Every relationship N:N generates a table in the mapping.
The Associative Entity is when the relationship with cardinality N:N between two entities needs to relate to a third entity. In such cases, this relationship would need to be connected to some graphic representation (or to an entity or relationship). If it is in the entities, the bonds are lost and if it is in the relationship, the modeling would be wrong because it is not possible that two relationships are connected to each other. For this, the rectangle is made around the relationship. Let’s take an example:
If we try to connect the entity DISCIPLINE in the entity STUDENT, we would lose the information of which course it is part. If we call in the COURSE, we would lose the information of which student did the course. If we call in the direct relationship, we would have a modeling error. For this, an associative entity is used. In conceptual-logical mapping, the associative entity is a table as in the relationship with cardinality N:N, but its primary key may go to another table as a foreign key.