The relationship table N for N is the table generated in the conceptual-logical mapping of cardinalities N to N. Every N: N relationship 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, such a relationship would need to be connected to some graphical representation (or to an entity or to a relationship). If it is in entities, the links are lost and if it is in the relationship, the modeling would be wrong because it is not possible for two relationships to be connected to each other. For this, the rectangle is made around the relationship. Let's look at an example:
If we try to link the DISCIPLINE entity to the STUDENT entity, we would lose the information of which course it is part of. If we connect in the COURSE, we would lose the information of which student did the discipline. If we connect 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 relation to cardinality N: N, but the primary key of it can go to another table as a foreign key.