Mapa mental
Types of Relationships
Conteúdo do mapa
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.
Informações
- Descrição
- Mapa Mental sobre Types of Relationships, criado por 11jbennison em 18-11-2014.
- Criado por
- 11jbennison
- Visualizações
- 10
- Avaliação
Mais sobre Database Keys and Relationships