Introduction to Database Management Systems with PostgreSQL

Many-to-many Solution: additional table with both Keys.

Hierarchy

Recursive relationships