Locked lesson.
About this lesson
Understand how relationships work in Access and why they are fundemental to building a functional database.
Exercise files
Download this lesson’s exercise file.
6.01 relationships-explained - Exercise.docx108.3 KB
Quick reference
Relationships Explained
Relationships are a way of linking common fields between tables together to ensure additional information is accessible.
When to use
Create relationships between tables whenever you want to interrogate data across multiple tables.
Instructions
Access is a relational database management system. We create tables to hold our data and then link those tables together so that information across the tables is accessible.
To link tables together there needs to be a common field, a field that exists in both tables. This concept is comparable to Excel's VLOOKUP function. When we link tables using a common field, the data in the linked table becomes accessible.
Sometimes tables that we need to link do not share a common field. In this scenario, we would need to create a link table that contains a field from one table and a field from the other. We can then create a relationship between the link table and the other tables to achieve the same result.
Hints & tips
- It's important that common fields have the same field name (column header).
Lesson notes are only available for subscribers.