Entity relationship diagrams show relationships between tables using lines and cardinality notation. Cardinality describes whether a relationship is one-to-one, one-to-many, many-to-one, or many-to-many. Many-to-many relationships cause data problems and are resolved using a link table to create two one-to-many relationships. For example, a books lending relationship between lenders and books would be resolved using a lend records link table.