Both entities may have mandatory participation in an entity relationship. In a relational database, a many-to-many relationship is represented through an associative table that uses foreign keys to link the two related entities. A one-to-many relationship reverses to many-to-one, and querying a self-reference as a self join requires two table references with aliases.
Community Discussion