One-To-Many
- One DeviceClass can have many DeviceTypes
- Key symbol represent one, infinity symbol represent many
- Note: You don’t have to have many.
Many-To-Many
- Not as common as One-To-Many
- Many-To-Many relationship is expressed with help of junction tables
- A table name with a joint name of two tables
One-To-One
- Least commonly used relationship
- One row in one tables is related to, One row in other table
Reference: https://www.youtube.com/watch?v=4q-keGvUnag
No comments:
Post a Comment