- The document discusses how to create relationships between tables in a relational database using key fields that are common between tables. There are three types of relationships: one-to-one, one-to-many, and many-to-many.
- Relationships can be created while designing tables or afterwards using the Relationships window. This allows data from multiple tables to be queried and displayed together.
- Examples are provided on how to use the Table Wizard to create tables with relationships as well as how to manually define relationships between existing tables using the Relationships window.
7. One-to-many: For each record in a table, many corresponding records may exist in the related table.
8. Many-to-many: For each record in table A, many records may exist in table B; or for each record in table B, many records may exist in table A. Many-to-many should not exist in a well-designed database.
9.
10.
11.
12.
13.
14.
15. Select the Students Grade table from the Sample Table list. Select all fields from the Sample Fields list by clicking the >> button. Click Next.
17. The dialog box appears, Access has already assumed that a relationship exists between the Students Info and Students Grade tables , thanks to the Student ID field that appears in both tables.
18.
19.
20. Click Table tab from the Database Window , then click New button.