Types of relationships
Course: Horizontal and vertical scaling, Indexes in DBs - chapter 10
Use case - Library management system
- Users table
- Library card table
- Books table
- Genre table
One to One
Section titled “One to One”Each user has a single Library card

One to many
Section titled “One to many”
Many to one
Section titled “Many to one”Opposite of the thing above
Many to Many
Section titled “Many to Many”
Final graph
Section titled “Final graph”