Mind map
Types of Relationships
Map content
Types of Relationships
One to One
- One record in one table relates to another record in another table
- inefficient as a lot of records have to be linked
- Patient will have one address and one appointment
One to Many
- One record in one table relates to many links in another table
- A customer could have a lot of orders
- The best one to choose as there will be less links than the one to one but not as complicated as many to many
Many to Many
- Introduce another table to change to one to many as it isn't efficient
- Many videos to many customers
- Many records in one table will link to many records in another
Information is stored in sets of related tables based on the entities
Relationships built through shared common fields
Overcome the problems of storing everything in single tables
An entity relationship diagram (ERD) is a specialised graphic that shows the relationships between entities in a database.
Information
- Description
- Mind Map on Types of Relationships, created by 11jbennison on 18/11/2014.
- Created by
- 11jbennison
- Views
- 10
- Rating
More on Database Keys and Relationships